htaccess for SSL

Started by LandyVlad, May 09, 2019, 11:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


May 09, 2019, 11:18 PM Last Edit: May 10, 2019, 07:37 AM by Bigguy
I'm using SMF 2.1 RC2 currently. Fresh install from full package (not upgrade)

I've selected force SSL in the forum settings.

Yet I'm still getting a not secure warning, just as you can probably see here:

There was no htaccess file in existence so I created one as follows:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

What have I missed here? Advice please.
I reject your reality, and substitute my own.


Have you got a SSL Cert configured for that domain?


I got a big security warning going to your site. Had to add an exception to get there. Have you tried repair_settings to see if all urls are good. :ques



FYI, the newest version of cPanel (version 80, which is apparently going to be rolling out to those on the "CURRENT" tier soon) includes a feature to automatically redirect from http to https...
QuoteIn cPanel & WHM version 80, we added the Force HTTPS Redirect toggle to cPanel's Domains interface (cPanel >> Home >> Domains >> Domains). This feature automatically redirects any visitors who attempt to access the insecure version of a website (HTTP) to the secure version (HTTPS).

You can only enable redirection on main domains that also possess a valid SSL certificate.

This option already exists in Plesk.
Cincy Space - now open!


I asked my host to have a look as I didn't get that problem with my other 2.1 RC2 forum.
I reject your reality, and substitute my own.