Google Sitemaps Error With Hyphenated File Names


Google might be having some weird bug with XML sitemap files that have hyphens within the final name. So if your sitemap file name is /sitemap-10.xml it will trigger a “couldn’t fetch” error, but using /sitemap10.xml with the same exact file will not trigger any errors. This error shows up in the Google Search Console sitemaps section.

This was uncovered by the folks at Screaming Frog who posted this on X:

Little something we spotted in GSC. Is there a bug here? Sitemaps all the same, just different filename. Google errors with any filename with a hyphen followed by more than a single digit. Recreated in multiple properties etc. Thought we’d mention!

Google did not yet respond to this issue, but Screaming Frog did send this screenshot:

Google Sitemap Dash Errors

Others were also able to replicate this:

Do you have this issue too?

Forum discussion at X.





Source link : Seroundtable.com

Social media & sharing icons powered by UltimatelySocial
error

Enjoy Our Website? Please share :) Thank you!