Google: Include Your Canonical URLs In Your Sitemap File

Jan 24, 2023 - 7:51 am 2 by

Google Abstract

Google's Gary Illyes said on LinkedIn this morning that you should "include the URLs that you would want to see as canonical in your sitemaps." This is not necessarily new advice, Google has said this numerous times, but Gary had a reason to repeat this advice for some reason.

Gary added, "It's normal to have some duplicate content on your site, but you want to give search engines as many hints as you can about which version should be canonical (I.e. shown in search results). Sitemaps is one of those hints. Not as strong as rel-canonical and definitely not even near redirects, but it can be useful still."

So, the strongest signal is the redirect, then rel-canonical, and then sitemap file? There are probably signals in the mix, like your internal links, external links, and more.

I mean, it is logical to have your canonical URL in your sitemap. That just seems logical. But I guess Gary is seeing a lot of folks not doing this?

In 2016, John Mueller said we recommend just submitting a sitemap for the URLs that you want to have indexed, not for all variations and in 2018, he said URLs in sitemap files are used to determine the canonical URL.

So if you are serving non-canonical URLs in your sitemap file, try not to?

Forum discussion at LinkedIn.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Gvolatility, Bing Generative Search, Reddit Blocks Bing, Sticky Cookies, AI Overview Ads & SearchGPT - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: July 26, 2024

Jul 26, 2024 - 10:00 am
Search Video Recaps

Google Volatility, Bing Generative Search, Reddit Blocks Bing, Sticky Cookies, AI Overview Ads & SearchGPT

Jul 26, 2024 - 8:01 am
Google

Google Gemini Adds Related Content & Verification Links

Jul 26, 2024 - 7:51 am
Other Search Engines

SearchGPT - OpenAI's AI Search Tool

Jul 26, 2024 - 7:41 am
Search Engine Optimization

Google's John Mueller: Don't Use LLMs For SEO Advice

Jul 26, 2024 - 7:31 am
Google

Google Search With Related Images Carousel Below Image Box

Jul 26, 2024 - 7:21 am
Previous Story: Google Parses img Elements Even When Enclosed Within Other Elements