Google: Does It Matter Where Your XML Sitemap File Is Located?

Sep 11, 2018 - 7:30 am 0 by

Google Sitemap

I saw an interesting question about the location, directory, the XML sitemap is placed in. Does that matter to Google, and if so how? John Mueller from Google responded that it depends.

John said on Twitter it depends "on how they [the sitemap files] were discovered." He said (a) If submitted via anonymous ping, they're only valid there & lower levels and (b) If you submit them through your Search Console account, they can be valid for any verified site or part of a site.

Here are the tweets:

Let me show you the video embed at the start time, which was from 2017 and started at the 6:26 mark:

Here is the transcript:

I have a new site map for a subdirectory. Does it matter if I tell Search Console the file is in the root of the subdirectory or in the root of the entire domain? Also, how long does it usually take for Google to crawl it? It's been a few days now, and I thought Google was faster.

If you have a site map file and it's in a subdirectory, then, by default, that site map file would only be valid for URLs that are in that subdirectory as well.

So that's one thing to watch out for. But past that, it's kind of irrelevant where you place your site map file. If you submit that in Search Console directly, then you'll see the status of the submission. You'll see if it's being processed. You'll see how many of those URLs are being indexed.

Forum discussion at Twitter.

Note: This story was pre-written and scheduled to be posted now, I am currently offline for a holiday.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Volatility, Helpful Content Update Gone, Dangerous Search Results & Ads Confusion - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google: It's Unlikely Your Rankings Dropped Because You Have Two Websites

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

Google: Indexing API May Work For Unsupported Content But...

Apr 19, 2024 - 7:31 am
Google Search Engine Optimization

Google: Are Hyphenated Domains Are Bad For Google Ranking?

Apr 19, 2024 - 7:21 am
Bing Search

Bingbot To Test Zstd Compression After Fully Gaining Full Brotli Compression

Apr 19, 2024 - 7:11 am
Search Forum Recap

Daily Search Forum Recap: April 18, 2024

Apr 18, 2024 - 4:00 pm
Google

Google Notes On Search Won't Necessarily Go Away In May

Apr 18, 2024 - 7:51 am
Previous Story: Google: We Don't Support Checking Millions Of Domains For Manual Actions In Bulk