: Do I reference all my *.xml.gz sitemap files in robots.txt I have a website with over 1 million url's. As such, I have 1 sitemap.xml file which acts as an index to many sitemap0000.xml.gz,
I have a website with over 1 million url's. As such, I have 1 sitemap.xml file which acts as an index to many sitemap0000.xml.gz, sitemap0001.xml.gz ... sitemap0030.xml.gz etc. files.
My question is: In my robots.txt file how do I specify the sitemap file?
Do I refernce the sitemap.xml only? As in the following:
User-agent: *
Allow: /
Sitemap: mysite.com/sitemap/sitemap.xml
Or do I have to specify ALL the *.xml.gz files in the sitemap too?
More posts by @Samaraweera270
1 Comments
Sorted by latest first Latest Oldest Best
Yes, only refer to the index file. (See under the "Using robots.txt" heading.) It will then lead the crawler to the others.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.