Redirect non-www to www URLs using htaccess

Web development has a lot of nuances that are learned along the way. One of those is that www and non-www URLs are technically different and that it could hurt your SEO if you keep both around.

For example, the domains https://www.ostraining.com and https://ostraining.com (note the "www" in one but not the other) are technically different. However, if you click on either, they'll redirect to the same place, which is a good thing. It helps Google and other search engines to only index one and to not split results.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 19, 2015 19:35
No comments have been added yet.