Support Forum

Webmasters => Webmasters => Topic started by: Mike on July 31, 2008, 09:49:57 AM



Title: How Add or Remove the WWW Prefix from Your Domain Name
Post by: Mike on July 31, 2008, 09:49:57 AM
How Add or Remove the WWW Prefix from Your Domain Name
   


How do you automatically add the "www" prefix to your domain name? Or perhaps you want to remove the "www" prefix from a URL. Doing either of these may save your site from duplicate content issues in the search engines if your site is often referred to by both forms (that is, <code>example.com</code> AND <code>www.example.com</code>). <a href="http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml" target="_top">This article[/url] shows you how you can fix this by simply adding a few lines to your <code>.htaccess</code> file.
   

http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml