WordPress.org

Support

Support » Plugins and Hacks » 404 Error on Woocommerce Category's with Sitemap enabled

404 Error on Woocommerce Category's with Sitemap enabled

  • jwt2030
    Member

    @jwt2030

    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
    <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

    http://wordpress.org/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘404 Error on Woocommerce Category's with Sitemap enabled’ is closed to new replies.