We've just had to move another client's old site to a new one.
There are lots of inbound links but the page URL structure has completely changed for the better.
The client wants to rank right away.
What do we do?
301 the old site is the traditional answer.
Not so fast says Eric Ward who is one of the masters of link building, having built links by hand for longer than almost anyone else on the internet and for more large corporate clients than any individual I know (there are some SEO companies working fairly stealth with portfolios of almost 100 big names):
I wouldn't 301 it yet. First I'd run a backlink analysis on the old site and then visit each site linking to the old site, and for those that look exceptionally trustworthy and legit, ask them personally for a hand edit to change the link from the old site to the new site.
Frankly for a website with thousands of backlinks, that's just not a realistic option. Well for Walt Disney or some of Eric's other clients perhaps it is. But what should the rest of us do?
- Run a detailed backlink analysis (we use SEO Spyglass for this as it's reliable, comprehensive and cross-platform so that I can use the same software on my Mac as the rest of the team uses on their PC's or even Linux machines). That analysis will give you the target pages of all incoming links.
- Make a list of all the pages which have incoming back links and look at the anchor text for those links.
- Find the page on the new website which best corresponds to that anchor text (the new landing page so to speak).
- Write a 301 redirect for each of those old pages to new pages. 301 syntax looks like this:
redirect 301 /olddirectory/oldsubdirectory/oldfilename.htm http://newdomain.com/newdirectory/newpage
- Open up .htaccess and paste in the new 301 redirects (.htaccess is in the root directory of your website and is an invisible file - you need to turn on the option to see invisible files in your FTP client in order to work on .htaccess).
- Paste in the new 301's to your new website.
- Test your 301's by hand (always test everything by hand - a single colon or quotation mark out of place can disable an entire PHP file, html page or .htaccess file!).
- Monitor your server logs for 404's in any case. Any page which 404's often should also be 301'd.
For bonus points:
- Do a site:yourdomainname.com search in Google.
- Find the equivalent new page for each old page (depending on the site a regex redirect will be your friend).
- Write 301's for all the existing pages to the new equivalents (you can group pages of course, i.e. 4 different pages from the old site could get mapped to a single page on the new site).
- Add to .htaccess.
If you follow these prescriptions to the letter, you should retain the rankings of the old site. Be prepared to see a three week to seven week dip as Google gets used to your new digs. It's a bit of manual drudgery in comparison to just a single global 301 to the new website.
Still it's a lot less work than trying to dig up the owners of incoming links to the old site and begging them to change the links to the new site.
But Eric has a point. Any incoming links over which you have control or are of particularly high value you should seek to change by hand (although an older link will lose its age value by being changed to the new domain, so what Google gives, Google taketh away). Over time, though, the direct link will be worth more.