Forum Moderators: goodroi
Sitemap: https://www.example.com/sitemap.xmlNot all search engines know to get the name there, but bingbot ought to. # the htaccess file must be in the directory of the matched file.
<Files "sitemap.xml">
Header set X-Robots-Tag "noindex"
</Files> in the .htaccess file for Apache.
Do other search bots ask for the sitemap file if it referenced in robots.txt?I took a closer look at logs for one site that used* sitemap.txt instead of the more common sitemap.xml. Logs suggest that, yes, most mainstream robots will focus on what they find named in robots.txt. The most visible exceptions are BLEXbot and, amusingly, something calling itself "ultimate_sitemap_parser/0.5". (I'd never heard of the latter, probably because it got a steady diet of 403s.)