Under my Google Search Console I'm receiving a 'es' - no return tags (sitemaps) error for:
- Originating URL:
/en/about-us/testimonials
- Alternate URL:
/es/about-us/testimonials
And I have my sitemap XML file setup like the following:
<url>
<loc>https://www.example.com/en/about-us/testimonials</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="es" href="https://www.example.com/es/about-us/testimonials" />
<lastmod>2016-07-11T00:00:00Z</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.example.com/es/about-us/testimonials</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="es" href="https://www.example.com/es/about-us/testimonials" />
<lastmod>2016-07-11T00:00:00Z</lastmod>
<priority>0.8</priority>
</url>
However, should I also be including the following hreflang="en" in my sitemap XML file to avoid this issue?
<url>
<loc>https://www.example.com/en/about-us/testimonials</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="en" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="es" href="https://www.example.com/es/about-us/testimonials" />
<lastmod>2016-07-11T00:00:00Z</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.example.com/es/about-us/testimonials</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="en" href="https://www.example.com/en/about-us/testimonials" />
<xhtml:link rel="alternate" hreflang="es" href="https://www.example.com/es/about-us/testimonials" />
<lastmod>2016-07-11T00:00:00Z</lastmod>
<priority>0.8</priority>
</url>