Tag Archives: .htaccess

Redirect Loops Settings

Recommended .htaccess redirect option

If you didn’t enable the .htaccess redirect in your site, you may see a new plus one, with a notice in your dashboard (since version 3.2) WordPress 301 redirect enabled. We recommend to enable the .htaccess redirect option on your specific setup. This setting is not enabled by default, because on some setups you may …

Warnings & Errormessages

Amp javascript warning with Really Simple SSL

If your site uses AMP (accelerated mobile pages) in combination with Really Simple SSL, you might encounter an error regarding javascript in the head of the website. If you see this error, you have the option “javascript redirect to SSL” enabled in settings/ssl. The solution is simple: just deactivate this redirect, and the inline script …

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 …