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

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Blog Administration

Programming Note: Offline For Passover

Apr 22, 2024 - 4:05 pm
Search Forum Recap

Daily Search Forum Recap: April 22, 2024

Apr 22, 2024 - 4:00 pm
Google Search Engine Optimization

Google: We Need Very Few Links To Rank Pages; Links Are Less Important

Apr 22, 2024 - 7:51 am
Google

Google Tests Discussion and Forums Questions With Answers Box

Apr 22, 2024 - 7:41 am
Google Search Engine Optimization

Forbes Blocks Its Coupon Directory Before Google Enforces The Site Reputation Abuse Policy

Apr 22, 2024 - 7:31 am
Google Maps

Google Tests Posts Button In Local Listing Business Profile

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