I read https://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.
Please let me know if this cleared things up and I will change the question above accordingly.
– Daniel Böttner Jul 21 '16 at 09:54You will see that within a product there is a hreflang to lets say example.com/p-1234567. When you follow this link the canonical within the site is actually example.com/seo_base_words_for_url/p-1234567.
So the main question which I tried to get solved is will the longer (correct) url be indexed?
– Daniel Böttner Aug 17 '16 at 15:07