• I have set everything up and the sitemap.xml and sitemap.xml.gz are both created ans set at 777. When I open the Configuration I get the errors below. I am using Version 2.7 – Can anyone advise please.

    # There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    # There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

Viewing 14 replies - 1 through 14 (of 14 total)
  • Me too. Had originally forgotten to add the .xml files – now cannot get rid of the two lines of warning messages and back to the ‘generate sitemap’link.

    Have deactivated and reactivated – same results – the same warning are on the options page….

    Thanks

    I get the same message but only with my sitemap.xml.gz file. My sitemap.xml file gets rebuilt without any problems.

    Sure would be nice if someone could respond with a solution to this. I didn’t find any information about it on the plugin’s author page either.

    I had both files at permissions 777. I dropped the gz file down to 774 after the error, but that didn’t correct the problem either.

    Yes, I get the same error messages. I’ve changed my permissions to 777 on both of the files:

    When I open the Configuration I get the errors below. I am using Version 2.7.

    # There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    # There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

    Any help you could give me on this would be so appreciated. Thanks!

    Hi. I had this exact problem and it turned out that the plug-in was trying to write the sitemap file to a different directory than the root of my blog (it was trying to put them in Apache’s root).

    If you click on the “Debug function” link and then search for sitemap.xml on that page, you should be able to see what path it’s trying to write the sitemap.xml files to.

    Hello All

    I found if you set file ‘sitemap.xml.gz’ to 666 and set ‘sitemap.xml’ to 777 this work for me. ??

    Yes, I get the same error messages. I’ve changed my permissions to 777 on both of the files:

    When I open the Configuration I get the errors below. I am using Version 2.7.

    # There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    # There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

    Any help you could give me on this would be so appreciated. Thanks!

    I’ve never been able to get this plug in to work. I also get the following message:

    # There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    # There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

    I tried all the suggestions in this string and other strings.
    I have made both files 777.
    I have tried moving both files to the root of my blog, then the root of my website, and a range of other places.
    Finally, I deleted the files and made my blog folder 777 as instructed to in the Google Sitemaps FAQ (Sitemap Issues And Errors) page and then tried to generate the sitemap.

    None of these efforts worked so I removed the plugin and made my folders secure again as any folder or file set at 777 is a disaster waiting to happen.

    If someone comes up with a real solution then I’ll reinstall it and try again.

    I finally tried something that worked for me!!! I found the plugin was considering all urls without www. I changed my general settings so both wordpress and blog addresses had www. After logging in again in my new www admin url, executed the pluging and now is working fine.

    Good luck!

    @sancheze,

    What was the problem you were having? Was it that it was not writing the sitemap files?

    I had a look at my general settings and noticed that both were already set it www. So that is not what is causing the plugin to fail on my blog.

    Is a site map really necessary? The Search Engines don’t seem to have a problem indexing all my blog’s pages.

    sanchez was right. I was having the same problem even though I had built 100 + WordPress sites. I tried all the usual fixes but nothing worked until I went in to the blog general settings and changed the blog address and wordpress files address to www.

    Thanks sanchez!

    This is a really stupid problem to have. What can be the cause to the problem is that your XML plugin is trying to write to the wrong directory.

    In this case you have to check custom location for your sitemap and put in the absolute path to your sitemap which looks something like this

    /home/”accountname”/public_html/sitemap.xml

    and then the complete URL of the sitemap below it such as

    https://www.yourhostingserverdomain.com/sitemap.xml

    You would think the person who created the plugin would have this info readily available.

    I have tried all suggestions here, and I still get the same errors

    # There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    # There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

    but they are followed by..

    The building process took about 0.01 seconds to complete and used 15.5 MB of memory.

    Does this mean its working and the error messages are wrong?

    On the same token I get a similar error message with when trying to change my permakink to a Custom Structure /%postname%/

    “If the root directory of your site were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Create a new file, called web.config in the root directory of your site.”

    And they don’t work.

    Any help would be great

    thanks
    George

    Hi George, I had exactly the same issues:

    To solve the issue you need to make a NEW sitemap.xml and a NEW sitemap.xml.gz using Notepad. Just open notepad and save as each file named as above.

    Upload the new files and replace current files. Change them so so they can be read, write, execute for owners and users.

    Go back into WP and at the bottom of the XML Sitemap page select RESET OPTIONS. This should fix both sets of issue. I have just done it and all is now working fine.

    Hi George,

    It also fixes this:

    On the same token I get a similar error message with when trying to change my permakink to a Custom Structure /%postname%/

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Google XML Sitemaps] Problem Writing File’ is closed to new replies.