Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Canonical with fallback languages

$
0
0

Hello!

We've recently implemented the standard Optimizely methods (see below) for generating canonicals and alternate URL:s and it works pretty well.

@Html.CanonicalLink()
@Html.AlternateLinks()

However, we're wondering why we're not getting links for the pages which have replacement language / fallback?

For instance we have this page about sustainability which exists in Spanish (see below)

When visiting this page in the browser, on the mexican site i works fine and shows the spanish fallback / replacement content

 

But the alternate / canonicals are not using the es-mx urls, but the es-es URL instead, and the alternate links do not even include the link(s) that have fallback.

Are we missing something?


Viewing all articles
Browse latest Browse all 9076

Trending Articles