-
Based on this documentation: https://support.google.com/webmasters/answer/189077?hl=en
-
At the moment we have these URLs:
-
Question: Do we want to add / remove any of them?
-
We want to remove the last two:
-
To inform Search Engines about the localized version of our website, we will need to add to each of the urls a tag for each translated page:
<xhtml:link rel="alternate" hreflang="LANGUAGE-CODE" href="URL" />
-
How it is now:
<url>
<loc>https://www.femtasy.com/sign-in</loc>
<lastmod>2018-06-14T09:11:32+00:00</lastmod>
<priority>0.80</priority>
</url>
-
How we need to change each of the urls to have an alternate link to each language we support and to itself:
<url> <loc>https://www.femtasy.com/en-GB/</loc> <xhtml:link rel="alternate" hreflang="en-GB" href="https://www.femtasy.com/en-GB/"/> <xhtml:link rel="alternate" hreflang="de" href="https://www.femtasy.com/de/"/> <lastmod>2018-06-14T09:11:32+00:00</lastmod> <priority>0.80</priority> </url> <url> <loc>https://www.femtasy.com/de/</loc> <xhtml:link rel="alternate" hreflang="en-GB" href="https://www.femtasy.com/en-GB/"/> <xhtml:link rel="alternate" hreflang="de" href="https://www.femtasy.com/de/"/> <lastmod>2018-06-14T09:11:32+00:00</lastmod> <priority>0.80</priority> </url>
- We can use a html template generator for managing the addition and removal of URLs and languages. Example: jsbin
- We will need to upload the new sitemap in Google Search console.