Hi I have a sub domain, and want to know which redirect is better from SE point of view.
If my site is www.xyz.com and sub-domain is abc.xyz.com, is it good to have www.abc.xyz.com redirected to abc.xyz.com or vice versa.
Please advice, which would be a better choice going forward.
tedster
12:38 am on Aug 3, 2007 (gmt 0)
When I set up a www.sub.example.com, I always 301 redirect from with-www to the no-www version. I know that some non-technical folks automatically type the www, so it's good to resolve the incorrect version. But the shorter and more commonly expected subdomain serves me quite well.
I don't know of any reason that search engines would prefer one version over the other - I doubt that there is one. Just make sure the redirect returns a 301 status and be consistent.
jdMorgan
3:02 am on Aug 3, 2007 (gmt 0)
www.example.com is a subdomain of example.com sub.example.com is a subdomain of example.com www.sub.example.com is the "www" subdomain of the "sub" subdomain of example.com. That is, www.sub.example.com is a sub-subdomain.
So yes, I'd 301 redirect www.sub.example.com to sub.example.com.