Google: URLs In Sitemap Used To Determine The Canonical URL

Jan 10, 2018 - 8:11 am 1 by

Google Confused

Google's John Mueller said in a video hangout at the 3:16 mark that the URLs Google finds in your XML sitemap files are often used to define your canonical URLs. John said "we recommend doing that is that we use a sitemaps URLs as a part of trying to understand which URL should be the canonical for a piece of content." "So that is the URL that we should show in the search results," he added.

When you have different signals for what is the canonical, i.e. 301 redirects, rel=, sitemap files, etc - that can confuse Google. But a strong signal is the URL you serve Google in your Sitemap file. John said:

The other reason we recommend doing that is that we use a sitemaps URLs as a part of trying to understand which URL should be the canonical for a piece of content. So that is the URL that we should show in the search results. And if the sitemap file says one URL and it redirects to a different URL then you you're giving us kind of conflicting information. You're saying well this is the one I want to have shown in the second file and that URL itself says actually I want you to choose this other URL instead. So we're in the situation like do we trust a sitemap file do we trust a redirect target. Is there maybe a rel canonical that's even different? What is the internal linking like? Does that match any one of these or maybe even a third. And all of that makes it a little bit trickier for us to take the canonical to show in the search results.

So for ranking that doesn't matter so much. It’s not that we would rank these pages differently depending on the canonical that we choose. But maybe you have a strong feeling and say I want everyone to use this nice-looking URL instead of this ugly looking URL, then that's something that you should tell us with the sitemap file, with redirects, with internal linking, all of that.

Google strongly recommends you use the final destination URL in your sitemap file, to avoid any confusion.

You can listen to the video at the start time below:

Forum discussion at YouTube.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: October 29, 2024

Oct 29, 2024 - 10:00 am
Google

Google AI Overviews Rolling Out To 100+ Countries & Billion+ Users

Oct 29, 2024 - 7:51 am
Google Search Engine Optimization

Google: Doubtful You'd See Big Ranking Drop Over Core Web Vitals Issues

Oct 29, 2024 - 7:41 am
Google

Google Tests Frequently Saved Label On Search Result Snippets

Oct 29, 2024 - 7:31 am
Google Maps

Google Tests New Local Places & Compare Sites Interface

Oct 29, 2024 - 7:21 am
Bing Search

Bing Recommends Against Batch Mode For IndexNow

Oct 29, 2024 - 7:11 am
Previous Story: Google Search Console Search Analytics API To Get 16 Months Of Data