Make sure your site (domain) is only reachable by
either using http://www.mydomain.com or http://mydomain.com. If you can
get both it may well be that search engines have a problem deciding which is your
domain and Google may penalise you as it sees duplicate content from two different
domains. Yes I know it is the same but how do you tell a stupid computer? It
is called a permanent redirect or 301 redirect and there are three ways to achieve
this. It can be done via the DNS set up which is only possible if you have
full access to your DNS server. The webserver where your domain resides
can be set up to do this (easy under Apache) again if you are on shared servers
the ISP is unlikely to let you do this as this requires a restart of the Apache
system. You can use a special file that on ..nix systems is called .htaccess
(note the dot in front). This is treated as a hidden file and you may have to
adjust your FTP program to see it.
Into this you can put directives that will
do this for you. Sample for vanilla unix and apache server taken from this
domain Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST}
^mbgj\.org
RewriteRule ^(.*)$ http://www.mbgj.org/$1 [R=permanent,L] To
check if your site sends the correct headers test it here Header
Check |