ibrian
Well-known member
I'm just looking to clarify the move from http to https, as there's a couple of points of information spread about different threads.
So far as I understand it, the process runs as follows:
1. Buy/apply SSL for the domain
2. Add the following line inside the PHP brackets in config.php:
3. Add the following to the top of the .htaccess file:
4. In Admin > Options, ensure the board URL is set to https and not http
Is that everything, or have I missed a step? Would just like to clarify this is the way to do it before proceeding, as there doesn't appear to be a tutorial on it - but hopefully this thread can help provide the basics in a single place.
So far as I understand it, the process runs as follows:
1. Buy/apply SSL for the domain
2. Add the following line inside the PHP brackets in config.php:
$_SERVER['HTTPS'] = 'on';
3. Add the following to the top of the .htaccess file:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
4. In Admin > Options, ensure the board URL is set to https and not http
Is that everything, or have I missed a step? Would just like to clarify this is the way to do it before proceeding, as there doesn't appear to be a tutorial on it - but hopefully this thread can help provide the basics in a single place.