News for hackers. Stuff that matters.
Re:Www. is deprecated - should it be? by cynusx on Sunday April 17, 2011 @06:49AM (#2455914)
It doesn't matter much. just take care that you don't have two domains with the same content.

www.example.com and example.com are different sites to Google and have different cookies as well.

Re:Www. is deprecated - should it be? by adpowers on Sunday April 17, 2011 @01:41PM (#2456522)
I'm not sure it is a big deal if you expose both to Google. There is a setting in webmaster tools that lets you explicitly set which you prefer: example.com or www.example.com

http://www.google.com/webmasters/

Although, the preferred way is probably to use a redirect.

Re:Www. is deprecated - should it be? by Terretta on Sunday April 17, 2011 @11:29PM (#2457842)
And a canonical URL in your header.
Re:Www. is deprecated - should it be? by jlam on Sunday April 17, 2011 @06:53AM (#2455918)
Just redirect permanently from one to the other.
Re:Www. is deprecated - should it be? by nfriedly on Sunday April 17, 2011 @09:51AM (#2456135)
I believe internet explorer combines the www. and non www. cookies. I remember sending an email explain site who's shopping cart would "mysteriously" empty when it switched to https://www.site.com if you started on site.com. their answer was basically "no, we're not broke." It was kind of disappointing.

it looks like they did fix the problem though: site.com 301's to www and they now set cookies on .site.com