WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
404 Error on Woocommerce Category's with Sitemap enabled (1 post)

  1. jwt2030
    Member
    Posted 10 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.