Google is reminding site owners that they shouldn’t add URLs that are being redirected in the sitemap they submit to Google. The question came up on Twitter about whether it should be avoided or if there was no detrimental effect to having them in a sitemap.
John Mueller answered on Twitter and said that sitemaps should really be for the URLs you want indexed, as it is also a canonical signal.
I'd list the URLs you want indexed. We use sitemaps in part to select canonical URLs; if you tell us about one URL in the sitemap, but redirect to another URL, how are we supposed to know which one you really want? pic.twitter.com/dMdeWHIIDj
— John ☆.o(≧▽≦)o.☆ (@JohnMu) August 21, 2018
For the most part, unless you think Google doesn’t already know about the redirected URL and there are important links pointing to it, there is no need to include a redirected URL in the sitemap file. But if Google doesn’t have that redirected URL, sometimes it can be a reason to include it in the sitemap, or you can use the fetch and submit via Google Search Console as an alternative.
Google has also said previously that Google uses many signals to determine which URL is the canonical, especially if there are conflicting signals, such as a redirected or non-canonical URLs in the sitemaps, or canonicals that reference themselves. So when you don’t want to let Google guess at which canonical you really mean, including the canonical in the sitemap and not including the non-canonical URLs in the sitemap is a pretty strong signal, when on-page canonicals are also correctly used.
Latest posts by Jennifer Slegg (see all)
- Google Updates Quality Rater Guidelines: Reputation for News Sites; Video Content Updates; Quality for Information Sites - September 13, 2019
- Google Makes Major Changes to NoFollow, Adds Sponsored & UGC Tags - September 10, 2019
- Google Updates Quality Rater Guidelines Targeting E-A-T, Page Quality & Interstitials - May 17, 2019
- Google Local Service Ads Display Pricing Estimates for Specific Locations - August 31, 2018
- Google Testing “Relevant History” Section in Mobile Search Results - August 31, 2018