Issue with subdomain redirection
For some reason one of my sites is being indexed in a search engine as ww1 instead of www in spite of the fact I never used ww1 on the site.
To try and fix this I setup a ww1. subdomain and set up redirection from ww1. to www.
However, at the subdomain maintenance screen, I get a message:
Subdomain Redirection
ww1.mysite.com is currently being redirected to: ww1.mysite.com.
Any ideas on how to fix this issue?
-
Hello :) Do you have any custom Mod_Rewrite rules in the .htaccess files within the account's home directory or below? Thank you. 0 -
Hi Michael, Thanks for the response. Here are the rules that are in there. # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{HTTP_HOST} ^ww1.mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
Let me know if there are any issues with the above.0 -
You may want to temporarily remove those custom WordPress Mod_Rewrite rules to rule them out as the cause of the issue. It's possible you might have to modify your rules a bit to get those custom entries to work with standard redirect rules. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments