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.
Jennifer Slegg
Latest posts by Jennifer Slegg (see all)
- 2022 Update for Google Quality Rater Guidelines – Big YMYL Updates - August 1, 2022
- Google Quality Rater Guidelines: The Low Quality 2021 Update - October 19, 2021
- Rethinking Affiliate Sites With Google’s Product Review Update - April 23, 2021
- New Google Quality Rater Guidelines, Update Adds Emphasis on Needs Met - October 16, 2020
- Google Updates Experiment Statistics for Quality Raters - October 6, 2020