Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want to redirect http://www.mywebsite.com to http://mywebsite.com.

I would like to avoid duplicated content. Is 301 redirect in nginx sufficent? Is it needed for me to add a CNAME record? My concern is that CNAME record may affect my seo.

Please bare with me, as I am very new to this. I see that this question has been asked here before, but there was no mention on whether 301 redirect is sufficient without CNAME.

thanks very much!

share|improve this question
    
Thanks John. Your explanation was straight to the point –  Kate Feb 13 at 17:45

1 Answer 1

up vote 1 down vote accepted

A 301 redirect in nginx will suffice. You can also specify your preferred domain in Google Webmaster Tools.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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