Knowledge Base Archives: Redirect rules

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 …

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 …

Redirect Loops Redirect rules

Remove .htaccess redirect on site lockout

When you enable the setting “htaccess redirect” in settings/ssl/settings, Really Simple SSL detects the best redirect, then opens a testpage to verify this option won’t result in redirect loops. Even so this in some cases causes redirect loops after all: there are a lot of server configurations, and some respond unexpectedly to the proposed rules. …

404 pages Redirect rules

Redirection to subfolder domains redirects to https://www.domain.com/domain.com

If you are running multiple single site WordPress websites in one hosting account, where you redirect to the correct domain using htaccess code like the example this: RewriteEngine on RewriteCond %{REQUEST_URI} !domain/ RewriteCond %{HTTP_HOST} ^domain.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule (.*) /domain/$1 [L] the default Really Simple SSL redirect in combination with this code might …

404 pages Redirect rules

www not redirecting to non-www on cloudflare

Recently I encountered an interesting issue with redirection from www to non-www. The non www site worked perfectly after migration to SSL, but the www site gave a 404 not found error, or a SSL server error. The issue was solved in the end by the hosting company. If a user has connected a site …