Force SSL on a WordPress

by

I’ve noticed that a .htaccess redirect works from the root folder down, but if you access the website from an old link you won’t be forced to HTTPS.

Updating the WP URL structure does not help:

This will work to force the redirect:

If you are running WordPress in a sub folder, the following lines:


RewriteBase /blog/
RewriteRule . /blog/index.php [L]

Leave a Reply

Your email address will not be published. Required fields are marked *


PageLines