Two days of attempts and I never managed to have Yoast’s WordPress Seo plugin’s XML sitemap feature work.
I keep getting 404 error trying to access it.
I added “sitemap(_index|[0-9]+)?\.xml” to both options in W3 Page Cache:
Never cache the following pages:
Cache exception list
(whats the difference between them anyway) ?
I am still getting error 404 on a page from my Hosting, not from my blog !
I disabled the Page cache module of W3 Total. Nothing changed
Then I disabled the whole plugin, and this time I still got the 404 error but on a page from my blog, not from my hosting.
I added this to the htaccess file that’s inside my cursed WP installation’s directory, (AFTER the default htaccess rules)
# WordPress SEO - XML Sitemap Rewrite Fix <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^sitemap_index\.xml$ /index.php?sitemap=1 [L] RewriteRule ^([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] </IfModule> # END WordPress SEO - XML Sitemap Rewrite Fix
That did not help either.
I am having this on all my blogs (all have W3 Total). What could be the reason ?
- The topic ‘[Plugin: W3 Total Cache] W3 Total blocks (404) WP-Seo's XML sitemap although added it to exclus’ is closed to new replies.