Knowledge Base Archives: Redirect rules

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 …

Excluding/including SSL on specific pages Redirect rules SSL certificate

Preventing subdomains or add on domains from getting forced to https

If you have several subdomains, or add-on domains, but do not use WordPress Multisite, you’ll need a way to prevent Really Simple SSL from forwarding all subdomains to https. That is, if these subdomains do not have an SSL certificate of course. 1. Go to Really simple ssl settings and check Stop editing the .htaccess …

404 pages Redirect rules

404 pages on your WordPress site when migrating to SSL

Sometimes users have the issue that all pages get 404 errors when Really Simple SSL is activated. The cause is different from user to user and from server to server. Re-save the permalinks Thought Really Simple SSL flushes the internal rewrite rules, it sometimes helps to do this again.  You can find the permalinks in …