Support » Plugin: Google XML Sitemaps » [Plugin: Google XML Sitemaps] Error Message when building Google XML Sitemap

  • 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!


Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    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?

    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?



    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.




    Unless version 3.2.5 doesn’t submit to 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.

    It says:

    MySQL Queries

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

    I don’t have “” 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.

    Hello Guys….

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

    define('SAVEQUERIES', true);

    Thats all …


Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Google XML Sitemaps] Error Message when building Google XML Sitemap’ is closed to new replies.