Google XML Sitemaps
Error Message when building Google XML Sitemap (9 posts)

  1. kaa2469
    Posted 4 years ago #

    I am new to using WordPress and I was just downloading all the plugins I need for my site, but when I go to Settings -> XML Sitemaps I Received two error messages saying:

    1) There was a problem writing your sitemap file. Make sure the file exists and is writable.
    2) There was a problem writing your zipped sitemap file. Make sure the file exists and is writable

    It also says if I changed anything on my server or blog that I can rebuild the sitemap manually.

    If someone could please explain why this is happening, that would be greatly appreciated. Thank you!



  2. loughcorrib
    Posted 4 years ago #

    You will have to ftp or cpanel to your site and check first for sitemap then right click and see what permissions you have
    you need

    sitemap.xml and sitemap.xml.gz and make them writable via CHMOD 666

    As per the installation help in the plugin

  3. cogitatemobi
    Posted 4 years ago #

    I have the same problem and all the research is saying I need to do as you have said. However, I am not a programmer and don't even know what ftp is. Can you please give me 'the idiots guide' version of the above, or is this something that I will need to get a developer to help me with?

  4. cogitatemobi
    Posted 4 years ago #

    OK, got help from my host Fatcow, read all the help sections here and now accessed my files having downloaded FileZilla. I go into the directory and there is a root folder, with the index.php file, and I first changed it to 666 and that didn't work so then 777 as per the instructions on the plugin help site. Still get the same error message when trying to build the sitemap?

  5. Brent
    Posted 4 years ago #

  6. carolinekempf
    Posted 4 years ago #

    I am having the same error message. I check and the sitemap file wasn't generated. I've used version 3.2.5 on many sites without an issue. Is 3.2.7 compatible with WP 3.4.1?

    I don't see what is the next step to correct the issue.


  7. Brent
    Posted 4 years ago #

    Unless version 3.2.5 doesn't submit to Ask.com I would expect you get an error on your 3.2.5. sites as well...

    If you go into settings > XML-Sitemap, look for “If you encounter any problems with the build process you can use the debug function to get more information.” Try debugging this, it will spit out a long debug text message, and take a look to see if that tells you anything more, look for the word “error” anywhere, or you could try pasting it here, and I can try to help you out further.

    Hopefully we can get you up and running with this plugin, it’s very handy.

  8. carolinekempf
    Posted 4 years ago #

    It says:

    MySQL Queries

    Please edit wp-db.inc.php in wp-includes and set SAVEQUERIES to true if you want to see the queries.

    I don't have "wp-db.inc.php" in the includes folder. I have "wp-db.php"

    I went into "wp-db.php" and changed false in this line of code to true.

    // If there is an error then take note of it..
    		if ( $this->last_error = mysql_error( $this->dbh ) ) {
    			return false;

    Then, I rebuilt, but it still returned the same error.

  9. Ramez.bd
    Posted 4 years ago #

    Hello Guys....

    The solution is very easy
    And simply
    Place the following code in the file ... wp-config.php

    define('SAVEQUERIES', true);

    Thats all ...


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic