[htaccess] HTTP to HTTPS for phpBB

https://phpbbstudio.com/ext/phpbbstudio/studio/styles/all/theme/images/studio-round-white.svg Website 2018-03-27T22:22:09 phpBB Studio https://phpbbstudio.com/ext/phpbbstudio/studio/styles/all/theme/images/studio-round-yellow.svg https://phpbbstudio.com/ext/phpbbstudio/studio/styles/all/theme/images/studio-round-yellow.svg

Be sure to have a SSL Certificate installed.
See Let’s Encrypt which is free and auto-renew itself every three months.

In ACP/Cookies Settings:

Cookies Secure: Enabled
Cookie name: change the name adding a simple char.

Now OPEN the .htaccess file located into the main Board’s root mydomain/BOARD_ROOT
with a decent text-editor (like Notepad++).

The first 2 lines should look like this:

<IfModule mod_rewrite.c>
RewriteEngine on


RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

Once done, that block of code should look like this

text-editor.png (13.83 KiB) Not viewed yet

SAVE the file (UTF-8 without BOM) and EXIT.

Nothing more to do as per the 95% of the cases. Issues… misunderstood ❓
Feel free to ask us, opening an own topic with a decent title in this forum. 🤓

This article is a stub, will be updated soon.