If you ever try to create a second sitemap for another store view in Magento you will get the below error
Path “sitemap.xml” is not available and cannot be used.
Even if you give a different file name like sitemap_en.xml, you will get this same error
What is the solution? How to create a sitemap.xml for each store view in Magento
There is nothing we can understand from the vague error message from Magento. After spending some time on this, I figured it out that Magento won’t allow any other filename, but sitemap.xml. So we cannot create two files with the same name in one folder.
As a solution, create a sitemap.xml in a different folder under the Magento root.
So your final file paths will look like this.