: Alternate vs. canoncial, which has preference? I read https://support.google.com/webmasters/answer/139066 but still would like to 'double check'. Following situation: Webshop with 3 languages (German,
I read support.google.com/webmasters/answer/139066 but still would like to 'double check'.
Following situation:
Webshop with 3 languages (German, French, English).
Every page has the correct canoncical set.
Now we would like set the alternate links with hreflang attributes to reference the respective versions of the product page in other languages.
For technical reasons (cloud-based system) we only can generate links like
a) example.com/p-1234567
While the correct page address (and the URL to be found in the targets canoncial link element) would be
b) example.com/seo_base_words_for_url/p-1234567
Question(s)
Is it 'valid' to have alternate link 'a' to a page with the canonical 'b'? Will Google index it (only link 'b' ) correctly?
The way I understand the topic this is the perfect use or sole purpose for canonical to begin with.
I read Should I include the current language code in <link rel="alternate" hreflang="" />? as well, and in the light of this, it would be even more interesting to have good answer to this question. As the 'rel' link have to be A <--> B (confirmed) and self referencing.
More posts by @Cugini213
2 Comments
Sorted by latest first Latest Oldest Best
Daniel - not sure I understand the question but here is a possible clarification.
Note: The Canonical and HREFLang are not interchangeable. If you use the URL for A on B in the canonical B will never be indexed.
For example
Page A Code
Page B Code
Page A has both HREFLang elements and a canonical to itself
Page B has both HREFLang Elements and a canonical to itself
The primary purpose of the canonical is to make this the primary URL if you add any tracking parameters and has nothing to do with HREFLang and making it the dominate page on the site.
Here is an article that may help hrefbuilder.com/incorrect-global-canonicals (my blog on hreflang issues)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.