Quantcast
Channel: User Kannan - Webmasters Stack Exchange
Viewing all articles
Browse latest Browse all 39

Answer by Kannan for What to do when you have sitemap.xml AND canonical url?

$
0
0

According to sitemaps.org, all the URLs in a sitemap should be from the same host.

Also, all URLs in a Sitemap must be from a single host, such aswww.example.com or store.example.com.

source: https://www.sitemaps.org/protocol.html

Hence there is no question of including the canonical URL in the sitemap of the second domain. So you can only add the original URL https://second-url.example/text/my-post.

UPDATE:

Based on Stephen Ostermiller's answer (which should be the accepted answer), it is better to omit the URL in the sitemap of the second domain.


Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>