Re: [Hampshire] [OT] Links to site from Google failing

Top Page

Reply to this message
Author: Graham Bleach
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] [OT] Links to site from Google failing
On 19/03/2008, Nick Chalk <nick@???> wrote:
> If you search for, say, "jamie's computers" on
> Google, you'll get several links to our site. (It
> uses the old domain name, unfortunately, but I've
> yet to work out how to fix that.)


If you configure Apache to issue a permanent redirect from the old
domain to the new one, Google will eventually remove the old one from
its index. IIRC you can also set a preferred hostname or domain in the
Google webmaster tools.

So, you'll probably want a new vhost for legacy domains that need to
be redirected:

<VirtualHost *:80>
ServerName legacydomain
ServerAlias otherlegacydomain

Redirect permanent / http://currentdomain/
</VirtualHost>

Regards,
Graham