Hreflang Optimisation

General HrefLang

Website version Language Countries hreflang values
https://www.seomanageruk.de/ German Germany de-DE
https://www.seomanageruk.be/fr/ French Belgium fr-BE
https://www.seomanageruk.be/nl/ Dutch Belgium nl-BE
https://www.seomanageruk.at/ German Austria de-AT
https://www.seomanageruk.ch/de/ German Switzerland de-CH
https://www.seomanageruk.ch/fr/ French Switzerland fr-CH
https://www.seomanageruk.co.uk/ English UK en-GB

 

Hreflang x-default

Website version Language Countries hreflang values
https://www.seomanageruk.com/us/ English US en-US
https://www.seomanageruk.co.uk/ English UK en-GB
https://www.seomanageruk.com/en/ English & default Rest of the world en, x-default

 

Hreflang All Countries Option

Website version Language Countries hreflang values
https://www.seomanageruk.com/ default default x-default
https://www.seomanageruk.com/en/ English All countries en
https://www.seomanageruk.com/fr/ French All countries fr

Implementation

<link rel="alternate" hreflang="en" href="https://www.seomanageruk.com/en/" />

Implementing Hreflang in XML Sitemap

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>http://www.example.com/english/</loc>
    <xhtml:link 
                 rel="alternate"
                 hreflang="de"
                 href="http://www.example.com/deutsch/"
                 />
    <xhtml:link 
                 rel="alternate"
                 hreflang="de-ch"
                 href="http://www.example.com/schweiz-deutsch/"
                 />
    <xhtml:link 
                 rel="alternate"
                 hreflang="en"
                 href="http://www.example.com/english/"
                 />
  </url>
</urlset>