Tag Archives: .htaccess

Redirect Loops Redirect rules Warnings & Errormessages

htaccess redirect to https may cause redirect to 401.shtml when using password protection

When using the .htaccess for password protection in combination with the .htaccess 301 redirect to https in Really Simple SSL, a redirect to https://domain.com/401.shtml might occur. A simple solution which has been reported to work is to add ErrorDocument 401 default To the top of your .htaccess, so the end result looks like this (the …

Really Simple SSL pro Settings Warnings & Errormessages

Inserting HSTS header using PHP

HSTS Header insertion Really Simple SSL pro has the ability to set HSTS header for your website. In most cases this is done by inserting the HSTS header in the .htaccess file used by Apache and related webservers. Inserting the HSTS header in the .htaccess file is a reliable way to send the HSTS header when …

Excluding/including SSL on specific pages Redirect rules SSL certificate

AutoSSL Let’s Encrypt plugin cannot verify domain because of .htaccess 301 redirect

I recently came across an issue where the AutoSSL let’s encrypt plugin can’t verify the domain. Strange though it may seem, this tool needs to access the website over http to renew the SSL certificate. A solution can be to disable the .htaccess redirect, renew, then enable again, but this is not a very elegant …

Settings Uninstalling

Can I deactivate Really Simple SSL after activating SSL?

Really Simple SSL is built to be very lightweight: the majority of the files is not even loaded when a visitor requests the frontpage. But if you want to remove the plugin after enabling SSL, do NOT use the WordPress deactivation in the plugins overview. Important! Deactivating the plugin in WordPress reverts your site to …

Redirect rules

Redirect to https not working

After you enable Really Simple SSL, by default a PHP redirect is activated, which is called wp 301 redirect in the plugin. If you notice your site can still be reached over https, this redirect might not work because of other plugins, like caching plugins for example. If you’re using Apache, the best redirect method …