Support » Fixing WordPress » Google Sitemap – Where Am I Going Wrong?

  • I have been working on this for 6 hours. Here is the message I get when I try rebuild the Google sitemap
    with Sitemap Generator current and beta versions

    “Could not write into /sitemap.xml: fopen(/sitemap.xml) [function.fopen]: failed to open stream: Operation not permitted
    Could not write into /sitemap.xml.gz: fopen(/sitemap.xml.gz) [function.fopen]: failed to open stream: Operation not permitted”

    Can you tell me what I am doing wrong?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I can tell you what needs to be done, but I don’t know how to do it. You need to allow the plug in write access. That is what it says in the installtion section of the plug in download. However, I didn’t need to do that, so I can’t tell you how. But that must be your problem.




    its trying to open and write to OR create a file and cant. Check the permissions on whatever directory it (the script) needs access to.

    when i use google sitemap i can’t del my post
    and i can’t see any sitemap file create in my web site directory

    howsoever when i do this , i just see a blank page

    how a bother thing
    anyone can help me?

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    You have to set the permissions for whatever directory it’s trying to write the sitemap into such that it can actually write the sitemap there. Without access to your account, I can’t tell you how exactly you have to do that. Ask your webhost. They’ll understand better.

    I have the same problem, getting the same error message. I use this plugin on some on my other blogs, and on those it works fine, but on this particular one – not.
    In the “help file”, it says I could upload 2 sitemaps files, and set the permission to “writeable” (777), which I have, but still no luck.
    I have also set my .htaccess to this
    “# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress”

    Can anyone tell me which file or directory needs to be changed to “writable”?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Sitemap – Where Am I Going Wrong?’ is closed to new replies.