Code: Select all
<a href="http://www.my-old-domian.com<?=$_SERVER['REQUEST_URI']?>">my old domain</a>The page structure is the same the only difference is that the pages now have a different domain name. Im concentrating on getting links to the new domain, but need google to recognise that the old domain page has now been replaced by the new one.
I've also as an added precaution added a full sitemap to google for the old domain that is set up with a 301 redirect.
Can anyone help me with the link code?