Canonical and alternate link tags

by Alan   Last Updated August 08, 2016 08:03 AM

Lets say I have a product that is accessible via 4 urls, 2 different paths within 2 language variations:

1) www.sample.co.uk/some/path/to/product
2) www.sample.co.uk/product

3) www.sample.us/some/path/to/product
4) www.sample.us/product

1 & 2 are identical. 3 & 4 are identical. (1 & 2) & (3 & 4) are two different language variations. For this I use the following canonical/alternate structure:

1) www.sample.co.uk/some/path/to/product
   canonical is "www.sample.co.uk/product"
   alternate is "www.sample.us/some/path/to/product" hreflang="en-US"
2) www.sample.co.uk/product
   canonical is "www.sample.co.uk/product"
   alternate is "www.sample.us/product" hreflang="en-US"

3) www.sample.us/some/path/to/product
   canonical is "www.sample.us/product"
   alternate is "www.sample.co.uk/some/path/to/product" hreflang="en-GB"
4) www.sample.us/product
   canonical is "www.sample.us/product"
   alternate is "www.sample.co.uk/product" hreflang="en-GB"

In point 1) should I use alternate href="www.sample.us/product" instead of url with path/to/product?

In point 3) should I do the same with the alternate link, so remove "some/path/to" and set href to "www.sample.co.uk/product"?



Related Questions


Updated July 25, 2016 08:01 AM

Updated December 06, 2018 14:04 PM

Updated March 03, 2019 08:04 AM

Updated June 29, 2015 13:01 PM

Updated February 22, 2017 17:04 PM