July 13, 2024
Google Recommends You Embody Your Canonical URLs In Your Sitemap File

Google’s Gary Illyes stated on LinkedIn this morning that you must “embrace the URLs that you’d need to see as canonical in your sitemaps.” This isn’t essentially new recommendation, Google has stated this quite a few occasions, however Gary had a cause to repeat this recommendation for some cause.

Gary added, “It is regular to have some duplicate content material in your web site, however you need to give serps as many hints as you possibly can about which model needs to be canonical (I.e. proven in search outcomes). Sitemaps is a type of hints. Not as sturdy as rel-canonical and positively not even close to redirects, however it may be helpful nonetheless.”

So, the strongest sign is the redirect, then rel-canonical, after which sitemap file? There are in all probability alerts within the combine, like your inside hyperlinks, exterior hyperlinks, and extra.

I imply, it’s logical to have your canonical URL in your sitemap. That simply appears logical. However I suppose Gary is seeing a variety of of us not doing this?

In 2016, John Mueller stated we suggest simply submitting a sitemap for the URLs that you simply need to have listed, not for all variations and in 2018, he stated URLs in sitemap recordsdata are used to find out the canonical URL.

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

Discussion board dialogue at LinkedIn.