Tag Archives: www

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 …