Skip to main content
8 of 8
Edit to make sure no one confuses this with the "canonical" tag

Should I include "www" in my website's URLs? What are the pros and cons?

What are the pros and cons of having http://www.example.com/ vs http://example.com/?

For example a problem I'm aware of is that if I use a domain without www I can't set a cookie for the current subdomain only (since there is no subdomain), and the cookies I set will be sent to all subdomains.

Andreas Bonini
  • 2.6k
  • 24
  • 23