Day: January 18, 2017
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 in this example: RewriteEngine on RewriteCond $1 !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 cause a redirect that ends up like this: https://www.domain.com/domain.com To solve this, you have to add some lines to the .htaccess in your root folder. The root
Leon Wimmenhoeve
January 18, 2017