You have probably misconfigured the nameservers and the ww and non-www entries.
You should probably choose which one you prefer and then enter the correct code into the .htaccess file to redirect one to the other. The .htaccess file is located in the public_html directory of your web site. Obviously change "yourwebsite.com" to your domain name, but don't change anything else.
If you want the non-www address to redirect to the www address, enter this code:
Quote:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourwebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [R=301,L]
|
If you want the www address to redirect to the non-www address, enter this code:
Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^yourwebsite\.com
RewriteRule (.*) http://www.yourwebsite.com/$1 [R=301,L]
|
This is also beneficial for SEO as Google will no longer treat the sites as different.
Talkupation appreciated 
Dan
|