Separate sitemap for raw notes

For the personal website deepakness.com, I had only one sitemap file at /sitemap.xml earlier. But as I am publishing a lot more raw notes now, the single sitemap file was getting bigger so I created a separate sitemap for raw notes.

Now, my raw notes sitemap is at /raw-notes.xml and the rest (blog posts and a few pages) are at /sitemap.xml.

You can have up to 50,000 URLs in a sitemap as Google suggests, but keeping the sitemap file smaller is a good practice in general from the SEO perspective. For example, in WordPress, SEO plugins like Rank Math and Yoast only keep 200 URLs in a sitemap file by default, and create new sitemaps after each next 200 URLs.

And I have also added both sitemap URLs in the robots.txt file. Again, not required, but good to have.