XML Sitemap Generator for WordPress plugin sometimes can not write the xml sitemaps,these happens typically after migrating to a new server or installing wordpress freshly. Solve this problem with few easy steps.
Why this peculiar problem happens with XML Sitemap Generator for WordPress plugin?
May be the permission of the sitemap files does not allow to execute the XML Sitemap Generator to write over the existing file (s). By default, WordPress installation or any Plugin on WordPress should be able to read and write as we set that permission from MySQL database (practically this happens automatically).
Even if you CHMOD the existing sitemaps, XML Sitemap Generator for WordPress plugin will say either these are not writable or does not exist. Peculiarly, we have the experience of a WordPress installation and vBulletin installation where vBulletin was installed on the sub domain, the problem was not present with vBulletin. Even more! another installation of WordPress was done on the same server : no problem happened!
---
Recall that vBulletin actually requires the server user id and password along with MySQL database user id password while installation where as for WP, only userid and password of MySQL is required (those config.php files).
So, there some mismatch happens some how and the server frankly denies to allow the XML Sitemap Generator to write.
How we can solve this problem with XML Sitemap Generator for WordPress plugin?
We can easily solve this situation with 100% guarantee:

- Delete the old two sitemaps (if there are), namely the sitemap.xml and sitemap.gz from the root of your server. To do this first go to root either through the cPanel file manager or FTP and delete these files.
- Then, go to any free on line sitemap generator website like this and create these two type of sitemaps and save them to any convenient place on your Hard Disc and up load them to the root of your server.
- You must CHMOD these two files to 777 from FTP or cPanel file manager. If you are using cPanel file manager, you will see an option named “permission” on the top. Select these two files one by one and set the permission to 777. If you are using FTP, right click and select permission > set to 777.
- Now, your XML Sitemap Generator for WordPress plugin will work properly.

Can i copy half of your article on my blog?I’ll link to it.
No.
XD
Thanks for your article.
After searching I found a solution using Google.
Thank you very much.