Mobile app version of vmapp.org
Login or Join
Steve110

: Redirect www to non-www (CNAME needed?) 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

@Steve110

Posted in: #301Redirect #Cname #Dns #NoWww

I want to redirect www.mywebsite.com to 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!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Steve110

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme