Forums

Google xml sitemap (3 posts)

  1. cbahm
    Member
    Posted 1 year ago #

    I'm getting this error message when trying to set up Google XML sitemap v.3.0.3 with my self-hosted WordPress blog, v.2.3.3: "There was a problem writing your zipped sitemap file. Make sure the file exists and is writable."

    The file is in place and has 777 permissions. I even tried deleting it and re-creating it. I read all previous posts about this plugin and tried their fixes: In my settings, I tried using automatic detection and then custom settings for the location of the sitemap file (and for the latter, made sure I included both the relative and the complete URL). Didn't fix it.

    If I go to where the sitemap is supposed to be (http://carolynbahm.com/sitemap.xml) I get this error message:

    Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype: http://carolynbahm.com/wordpress/wp-content/plugins/google-sitemap-generator/sitemap.xsl

    Can anyone suggest how to fix this, or list any known incompatibilities with other plugins?

    Thanks!

  2. npen
    Member
    Posted 1 year ago #

    I have been having a problem like this as well. Here is what I did to get mine working in FF and IE

    I changed this <?xml version="1.0" encoding="UTF-8"?> to this `<?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="product-list.xslt"?>`
    in the sitemap.xml file. THEN... I added this AddType application/xml .xsl to my .htaccess and now everything seems to be working fine for me.

  3. jiehao85
    Member
    Posted 1 year ago #

    Did you try to do a debug? I did a debug for my problem and I get the following error.

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 185632 bytes) in /home/blog/public_html/wp-content/plugins/google-sitemap-generator/sitemap.php on line 2488

Topic Closed

This topic has been closed to new replies.

About this Topic