Support » Plugin: XML Sitemaps » 404 File Not found? See here!

  • In case you get an error that your sitemap file was not found, please follow these steps:

    1. Check your permalinks settings of WordPress and click the Save button
    2. If you are using nginx as a webserver, place add the Rewrite Rules manually. see here
    3. If you are using W3 Total Cache and activated the “Do not process 404 errors for static objects with WordPress” feature under “Browser Cache”, please add the rules stated below to the “404 error exception list”.
    4. If you have still problems, please post here.

    Rules for W3 Totacl Cache 404 error exception list:


Viewing 15 replies - 1 through 15 (of 45 total)
  • I’m still having issue for now I’m going to revert to the older version unit things get flushed out more. Thanks for the help!

    Thread Starter Arne


    @bookworm: You are using nginx and W3TC, so you would have to add the nginx rules as well as the settings for W3TC.

    Hmm ok that’s probably it then. I’ll need to contact my hosting to make the change. I took a look on the page and I’m not sure which rewrite rules to give them.

    @bookworm316 — you should be fine with these:

    rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
    	rewrite ^/robots\.txt$ "/index.php?robots=1" last;

    Ask them to add those after the location / { try_files ... } block or before any other rewrite rules you might already have.

    I do not have the feature under “Browser Cache”, activated..
    I also manually installed the plugin with no success. is the site.

    Any help would be great!


    I am facing same issue for my blog i submitted new sitemap yesterday with google and today i am getting “General HTTP error: 404 not found” for all 38 links submitted. Indexed URL is 0. I am using W3 Total cache and followed the step 3 as suggested. Resubmitted permalink. Pls suggest, there is drop in my blog traffic..Thanks in advance.

    After submitting my sitemap to webmasters:
    General HTTP error: 404 not found
    0 URLs submitted

    I get this message on all of my websites. Followed steps for W3 total cache and it remained the same.

    Very dissapointing as this was the best XML plugin ever, and now, I am not so sure…

    i’ve a same problem with the new version.

    Error 404 🙁

    the link for rebuild the sitemap is no display.

    Update please !!

    Hello, about half my site is registering 404’s and I also can’t get the sitemap to say anything but “search engines haven’t been notified yet”.

    can somebody please assist.

    To resolve the 404’s you can go to the dashboard, access the drafts and press update and your posts will come back. I’m more concerned as to why my sitemap isn’t working

    Broken here as well, RIP Google XML Sitemaps ?

    Try and tell me how to fix it 🙂

    Hi Kramarz, I have same problem with you.
    I try to delete old sitemap first (xml and gzip) then active and update the google xml sitemap new version, and its work.
    Now my blog sitemap look fine


    My server is Nginx.


    rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ “/index.php?xml_sitemap=params=$2” last;
    rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ “/index.php?xml_sitemap=params=$2;zip=true” last;
    rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ “/index.php?xml_sitemap=params=$2;html=true” last;
    rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ “/index.php?xml_sitemap=params=$2;html=true;zip=true” last;

    after: location / {

    But does not work. I get 404 error with sitemap-misc.xml


    I get 404
    Operating System: Linux CentOS
    WordPress 3.5.2 with DB 22442 on PHP 5.2.17
    Plugin version: 4.0.4 ($Id: sitemap-loader.php 891809 2014-04-12 11:06:34Z arnee $)

    My sitemap is not being updated by Bing, although it updates on Google every day. I clicked on XML Sitemap Generator and found at the bottom of the page that yesterday’s sitemap report was sent to Bing at this address:

    However, on the Bing Webmaster site, at the “Sitemaps” page, Bing instructs to use this address for “Pinging Bing Using a HTTP request”

    Are my Bing updates going to the wrong Bing address?

Viewing 15 replies - 1 through 15 (of 45 total)
  • The topic ‘404 File Not found? See here!’ is closed to new replies.