Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've started to see some best-practice-if-you-ignore-user-expectation guides out there which say that allowing the domain to ignore the www is Not A Good Idea. I don't really know why this is the case, though.


I've seen people worry that if incoming links are split between foo.com and www.foo.com, it will affect Google's ranking of your site.

I don't think this is true and, anyway, the right solution would be to redirect one to the other.


Google treats http://www.example.com/foo.html as a different page to http://example.com/foo.html and it is completely right to do so because they could be different pages.

You can use rel="canonical" to get around this, or a http redirect.


Best practices concerning www, including rel="canonical" and redirects:

http://alanhogan.com/no-www




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: