(Entry was posted by Christopher Hale on this post in the Dumb SEO Questions community on Facebook, 01/11/2015).
What code do I use for 301 redirect and where?
![](https://dumbseoquestions.com/images/avatars/https://plus.google.com/110531760588011611599.jpg)
Newbie Question: I just started a new website lets called it www.example.com, and it`s reachable with both the non www and www versions. In GWT I have the preferred domain set to www.example.com. Do I need to do a redirect of the non www version to the www version? If so what code do I use and where? Any suggestions of a webpage that can explain this would be awesome! Thanks in advance!
Christopher?
View original question
in the Dumb SEO Questions
community on Facebook, 01/11/2015).