Changed domain? Help Google and save Page Rank

I recently changed my blog domain from sha.re.it to 36flavours.com and wanted to try and preserve my Google Page Rank with help from their Webmaster Tools, which provides a Change of Address tool.

This tool tells Google that it’s the same site, just a new domain. Unfortunately for me, they don’t recognise “.re.it” as a root level domain, so was unable to make use of this feature.

Instead I have to rely on a 301 redirect. If, like me, you’re using cPanel and have the old domain as a parked domain it will not issue a 301 header, however you can override this in your .htaccess file.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?sha.re.it$
RewriteRule ^.* "http://stv.whtly.com/$0" [R=301,L]

Here we check to see if the domain is sha.re.it or http://www.sha.re.it and if so, redirect to http://stv.whtly.com with the 301 header.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: