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

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




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: