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

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: December 20, 2024

Dec 20, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google December Core Update Done, Spam Update Starts, Google Ranking Exploit Leaked, Google Tests Double Serving Ads

Dec 20, 2024 - 8:01 am
Google Updates

Google December 2024 Spam Update 👾 Rollout Shocks Before Holidays

Dec 20, 2024 - 7:51 am
Google

Google Testing Shaded Button Sitelinks On Mobile

Dec 20, 2024 - 7:41 am
Google

Google Search To Gain AI Mode

Dec 20, 2024 - 7:31 am
Google Maps

Google Tests Nearby Hotels & Restaurants In Business Profile Listing

Dec 20, 2024 - 7:21 am
Previous Story: Google Search Console Search Analytics API To Get 16 Months Of Data