Solved: Magento 1.9 creating sitemap fails, path is not available and cannot be used

Magento admin - sitemap path not available and cannot be used.
Magento – sitemap path not available and cannot be used.

If you are optimizing your Magento 1.9 store for search engines you may want to generate additional sitemaps lets say to every store you have, especially if you have the stores in different languages.

What is funny is that you need to create these sitemaps yourself but when creating them via Catalog -> Google Sitemap in Magento admin, but once the fields are filled out you may encounter the error: path is not available and cannot be used.

At first I checked folder permissions, then went for Magento logs. But it turns out the solution is absolutely funny/peculiar/stupid/sad/simple.

 

Solution to Magento’s sitemap path is not available and cannot be used

  1. don’t use anything else but sitemap.xml as the sitemap name in the Filename 
  2. for Path, if you already have a sitemap.xml, first create a new folder via FTP in the installation directory of your Magento to hold your new sitemap and name it after your second store (ie sitemap-ru for russian language store sitemap)
  3. Hit Save and Generate to have your second sitemap.xml for your other store generated in the folder you specified.

Here is a image showing how to precisely create a sitemap for a Russian store. 

Adding a new sitemap in Magento the correct way.
Adding a new sitemap in Magento the correct way.

Post Author: Tom Pai