Knowledgebase
[How To] Redirect all to www. version of your site
| Some users, particularly Search Engine conscious ones prefer only one version of their URL to be used because Search Engine Robots, like GoogleBot will view www.xdnet.co.uk and xdnet.co.uk as different websites, and because they display the same content it understands it as duplicate content, which (in Googles eyes) devalues your site and can affect your rankings. Some prefer URLs like: www.MySite.com while others prefer using just plain MySite.com. Below you can find two .htaccess snippets, one redirects all users to the www. version and the other redirects all to the plain version without the www. Redirect all to www.CODE: Redirect all to non-www. domainCODE: |
Also Read
Powered by WHMCompleteSolution
Client Login
Contact Us
System Status
Blog
Affiliates
Knowledge Base

