Forums

[Plugin: Google XML Sitemaps] Problem Writing File (11 posts)

  1. wilsoncowden
    Member
    Posted 10 months ago #

    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

  2. scoophk
    Member
    Posted 10 months ago #

    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

  3. oceanofp
    Member
    Posted 10 months ago #

    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.

  4. alloneinvestments
    Member
    Posted 5 months ago #

    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!

  5. tambreet
    Member
    Posted 5 months ago #

    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.

  6. imann
    Member
    Posted 5 months ago #

    Hello All

    I found if you set file 'sitemap.xml.gz' to 666 and set 'sitemap.xml' to 777 this work for me. :-)

  7. prashantji
    Member
    Posted 1 month ago #

    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!

  8. Dave333
    Member
    Posted 1 month ago #

    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.

  9. sancheze
    Member
    Posted 1 month ago #

    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!

  10. Dave333
    Member
    Posted 1 month ago #

    @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.

  11. lendertech
    Member
    Posted 3 weeks ago #

    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!

Reply

You must log in to post.

About this Topic