Google: Sitemaps Should Contain URLs Of Pages You Want Indexed, Not Variations

Dec 13, 2016 - 7:48 am 6 by

Chalkboard9 Google 1900px

Google's John Mueller said in a Google Webmaster Help thread that you should only include the URLs you want Google to index in your sitemap file, not the other variations. This is probably obvious to many of you, but nowadays I what I think is obvious, isn't always obvious to me.

So, don't include your HTTP and your HTTPS, if you are on HTTPS, just submit your HTTPS URLs in your sitemap file. Don't include both the WWW and non WWW, pick one. The final canonical version of what you want Google to index is what you should include in your sitemap, the rest, 301 redirect to the main canonical URL.

John wrote, "we recommend just submitting a sitemap for the URLs that you want to have indexed, not for all variations."

Forum discussion at Google Webmaster Help.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google March Core Update Done, HCU Recoveries, Site Reputation Abuse & AI Topics - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: May 3, 2024

May 3, 2024 - 4:00 pm
Search News

The Industry Mourns The Loss Of Mark Irvine - Brilliant & Giving Search Marketer

May 3, 2024 - 1:10 pm
Search Video Recaps

Search News Buzz Video Recap: Google March Core Update Done, HCU Recoveries, Site Reputation Abuse & AI Topics

May 3, 2024 - 8:01 am
Google

Google SGE AI Answers Now Cost 80% Less To Generate

May 3, 2024 - 7:51 am
Google Search Engine Optimization

Google Open To Alternative Ideas For Hreflang

May 3, 2024 - 7:41 am
Google Search Engine Optimization

Google Recrawls URLs At Different Rates: Multiple Times Per Day To Every Few Months

May 3, 2024 - 7:31 am
Previous Story: Google Maypole Dancers At Holiday Party