Hello, i am getting 404 errors on my woo category pages when the sitemap function is enabled. I tried excluding all types of things from the sitemap, i added the .htacces code below at the top of my file. I unchecked just about everything in yoast and diabled most my plugins including my cache. This is happening on 2 of my largest sites. Please help?
# WordPress SEO – XML Sitemap Rewrite Fix
RewriteRule ^sitemap_index\.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
# END WordPress SEO – XML Sitemap Rewrite Fix
- The topic ‘404 Error on Woocommerce Category's with Sitemap enabled’ is closed to new replies.