EPiServer.CMS.UI 11.28.0
EPiServer.CMS.Core 11.20.3
Oct 15, 2020
Jan 15, 2021
CMS Core
Closed, Fixed and tested
According to Google, alternative links need to be outputted in an absolute URL format. This does not seem to be the case with the built in alternate links extension in Episerver, resulting in incorrect behaviour with Google complaining.
I would like to get this registered as a bug.
Reference:
https://support.google.com/webmasters/answer/189077?hl=en
Example of output of the extension method for the episerver.com site:
<link href="/" rel="canonical" />
<link href="/" hreflang="en" rel="alternate" />
<link href="/de" hreflang="de" rel="alternate" />
<link href="/se" hreflang="sv" rel="alternate" />
<link href="/no" hreflang="no" rel="alternate" />