Do you know if i should use canonical tag, or 301 redirection from

http://mydomain.com to http://www.mydomain.com

to avoid duplicated content penalty in case other pages link to the domain without the www.? or is google enough smart now just to identify whats the canonical one?

link|improve this question
feedback

1 Answer

If you don't specifically tell Google your preference you will probably have duplicate content issues. There is more then one way to inform Google of your preferred domain:

  1. Do a 301 redirect to use the 'www' or no 'www'
  2. Specify your preferred domain in Google Webmaster Tools
  3. Use canonical URLs (although it isn't typically used in this situation)
link|improve this answer
1  
I'd choose solution (1) ;) – Olivier Pons Nov 19 '11 at 16:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.