Forum Moderators: Robert Charlton & goodroi
Is there a way to compel Google to find/list the sub-domain? - the internal links all point to the new sub-domain.
return the page with a 200?
I.E., the site url only ever lists as [mysite.com....] in Google searches.
The 301 and 200 I referred to are the HTTP header responses sent by the server. If the subdirectory versions of the url resolve as a 200 instead of permanently redirecting (301) to the subdomain, then there's no reason for Google to change anything.
If you type in the subdirectory version of a url, the address in the browser's location bar change to subdomain version, or does it stay with the subdirectory version of the address?
Thanks, I understand the above part of your post Tedster, I think.
Whatever I enter in the browser address window always changes to the sub-directory version of the URL
If all is well there, then Google is indeed still tangled up and I'm sure what other steps you can take escept to wait. Maybe do another complete check on all your internal links.
I am badgering my ISP at the moment to see if he can explain it. All my domains are on the same server
RewriteCond %{HTTP_HOST}!^www\.MySite\.com [NC]
RewriteRule (.*) [MySite.com...] [R=301,L]
It is in there to redirect the MySite.net URL to the main MySite.com, but it has this bad side effect on sub-domains.
Can someone kindly show me how to rewrite the above rule to ONLY re-direct MySite.net? - Many Thanks, Rhys
:)
RewriteEngine On
RewriteCond %{HTTP_HOST} ^MyHost.net
RewriteRule ^(.*)$ [MyHost.com...] [r=301,L]
:then repeat it with the www's added.
This redirects the .net url but displays the .com in the browser window, and doesn't interfere with any sub-domains.