With both sites indexed, I’d like to reference all identical pages at the old site by including canonical tags in the new site:
e.g. The “About Us” page at http://www.example.eu/about-us should ideally have something like that in its head section: <link rel="canonical" href="http://www.example.co.uk/delivery"/>
e.g The “Delivery” page at http://www.example.eu/delivery should ideally have something like that in its head section: <link rel="canonical" href="http://www.example.co.uk/delivery"/>
I’m aware how that can be achieved in theory, but cannot apply it in practice. Additionally, while I’m mostly concerned about all the Information-type pages, ideally I’d love to be able to specify the exact pages that will have the canonical tag, something like:
Code: Select all
If (this page is About-Us OR Delivery OR … OR … OR … OR …)
{
Include Canonical Tag of the type <link rel="canonical" href="http://www.example.co.uk/xxxxxxxx"/> , where xxxxxxx changes accordingly, depending on the page.
}
Else
{
Don’t include Canonical Tag
}