: Can canonical tags be placed in the sitemap rather than in each page? We have canonical tags spread across our web pages. Is it possible to add the canonical tags in our sitemap instead? If
We have canonical tags spread across our web pages. Is it possible to add the canonical tags in our sitemap instead?
If yes, how?
More posts by @Phylliss660
3 Comments
Sorted by latest first Latest Oldest Best
According to developers.google.com/webmasters/mobile-sites/mobile-seo/configurations/separate-urls, we need to add rel=alternate to our sitemap and rel=canonical to the corresponding page on the site.
Just the fact that a URL is in the sitemap means that Google is likely to view it as the canonical page. In your sitemap, include only the canonical URL but not the non-canonical versions.
Source: The Sitemap Paradox where Google's John Mueller discusses what Sitemaps are good for and says:
Recognizing preferred URLs for canonicalization (there are other ways to handle canonicalization too)
No. That is not what the sitemap is designed for.
I agree that it would be nice if we could communicate more through the sitemap and that the current function of the sitemap could be extended to be more helpful for both the webmaster and the search engines.
That being what it may, you use the site map to tell search engines what pages you want indexed. Search engines will continue to index pages it finds on it's own that are not listed within the sitemap. If you want a page to be excluded from the search engine index, you can use the robots.txt file.
Here is the sitemap protocol: www.sitemaps.org/protocol.html
You can extend the sitemap protocol by using your own namespace, however, search engines are not expecting this and there is no additional standards that I am aware of that search engines will understand.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.