Can I Add More Than One Sitemap in robots.txt File?

It is a Webmaster forum to discuss website promotion, CMS management, Search Engine discussions, AdSense, etc.
Post Reply
sam
Posts: 9
Joined: 13 Oct 2023, 12:15

Can I Add More Than One Sitemap in robots.txt File?

Post by sam »

I have a website with three different sitemaps. I know everyone mentions sitemap.xml in the robots.txt file. But, whichever websites I checked, all of them mentioned a single sitemap in the robots.txt file.

I want to add three sitemaps to my robot.txt file. Is it possible?
Yashika
Standard User
Posts: 48
Joined: 16 Oct 2023, 11:29
Location: Noida Sector 85

Re: Can I Add More Than One Sitemap in robots.txt File?

Post by Yashika »

Why do you need to add multiple sitemaps to the robots.txt? You can create a sitemap index file that points to other sitemaps. Then, add this sitemap index file to the robots.txt file.
Alex George
Global Moderator
Posts: 62
Joined: 14 Nov 2023, 04:39
Location: Brooklyn

Adding Multiple Sitemaps in robots.txt File

Post by Alex George »

You can add more than one sitemap on the robots.txt file.

You can use this format-

Code: Select all

Sitemap: https://www.systosys.com/sitemap.xml

Sitemap: https://www.systosys.com/sitemap1.xml
Replace the SysTosys with your domain name.
Post Reply