Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Having Issues with .htaccess file

Timothy C Lefkowitz

Sep 02, 2018 03:24AM EDT

Hey There,

First off there is so much information spread around when it comes to the .htaccess file. It is a little difficult to put the info together.

I have uncommitted the lines that need to be uncommitted and now I can't seem to access the admin page at all. What I was trying to do is make my site use https instead of http so people don't get that harmful warming when checking out my portfolio.

I'm going to put the file back to it's original state.
https://gist.github.com/bradleyboy/3a84ad69af41f7642aeb

How do I make my website https accessible for the public?
I'm using Ubuntu 14.08

1 Community Answers

Answered

Team NetObjects

Sep 04, 2018 08:16AM EDT

Hello. Connect to your server via FTP. Open the .htaccess file in a text editor. At the top of the file are instructions about activating https for admin pages. You can also change to / instead of /admin/ so it works for the whole site. Here’s what it should look like:

  1. Uncomment the following block to force SSL when accessing /admin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} /
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>


This question has received the maximum number of answers.

support@koken.me
http://assets1.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete