A couple days ago I updated my forum from 3.0.10 > 3.2 and I also had my webhost install a SLL-certificate for my domain. After browsing this support forum I found a redirect that I had to put in my .htaccess, so that there would be a redirect from http > https. That all seemed to go well, but after that I noticed on my forum that the URL's looked weird. There was an extra slash behind my domainname. So it looked like:
Code: Select all
https://www.domain.com//phpBB3/
Code: Select all
https://www.domain.com/phpBB3/
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://www.domain.com/%{REQUEST_URI} [R,L]
So, for it to show only one slash in the URL, the redirect should look like this:
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://www.domain.com%{REQUEST_URI} [R,L]
Code: Select all
https://www.domain.com/phpBB3
Code: Select all
RewriteBase /phpBB3/