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?
Can I Add More Than One Sitemap in robots.txt File?
Re: Can I Add More Than One Sitemap in robots.txt File?
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.
-
- Global Moderator
- Posts: 140
- Joined: 14 Nov 2023, 04:39
- Location: Brooklyn
Adding Multiple Sitemaps in robots.txt File
You can add more than one sitemap on the robots.txt file.
You can use this format-
Replace the SysTosys with your domain name.
You can use this format-
Code: Select all
Sitemap: https://www.systosys.com/sitemap.xml
Sitemap: https://www.systosys.com/sitemap1.xml
-
- Editor
- Posts: 182
- Joined: 23 Oct 2023, 10:03
-
- Standard User
- Posts: 23
- Joined: 27 Oct 2024, 21:51
- Location: Cochin
Re: Can I Add More Than One Sitemap in robots.txt File?
Yes, it's possible.sam wrote:
I want to add three sitemaps to my robot.txt file. Is it possible?