Created
November 26, 2016 21:38
-
-
Save evemilano/1659ee8178fa9178c0f9635eecc510f0 to your computer and use it in GitHub Desktop.
Hreflang nella Sitemap.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.esempio.com/english/</loc> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de" | |
href="http://www.esempio.com/deutsch/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de-ch" | |
href="http://www.esempio.com/schweiz-deutsch/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="en" | |
href="http://www.esempio.com/english/" | |
/> | |
</url> | |
<url> | |
<loc>http://www.esempio.com/deutsch/</loc> | |
<xhtml:link | |
rel="alternate" | |
hreflang="en" | |
href="http://www.esempio.com/english/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de-ch" | |
href="http://www.esempio.com/schweiz-deutsch/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de" | |
href="http://www.esempio.com/deutsch/" | |
/> | |
</url> | |
<url> | |
<loc>http://www.esempio.com/schweiz-deutsch/</loc> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de" | |
href="http://www.esempio.com/deutsch/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="en" | |
href="http://www.esempio.com/english/" | |
/> | |
<xhtml:link | |
rel="alternate" | |
hreflang="de-ch" | |
href="http://www.esempio.com/schweiz-deutsch/" | |
/> | |
</url> | |
</urlset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Articolo: https://www.evemilano.com/2016/12/hreflang/