404 sitemap category product

#893748
  • Resolved Santhé
    Rank Math free

    Hello I did all the recommendations, caching, permalink modification number of sitemap links nothing works impossible to get the sitemap of my product categories and even my article categories I think it’s all the taxonomies that don’t work. Can you help me please

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, we apologize for the issue you are facing with your sitemap. If you are encountering a 404 error for your product categories and article categories sitemaps, it may be necessary to flush your permalinks again. Here’s how to do it:

    1. Go to your WordPress admin area.
    2. Navigate to Settings → Permalinks.
    3. Click the Save Changes button, even if you didn’t make any changes on the page.

    Flush permalink settings

    This action can often resolve issues related to sitemap accessibility.

    If the problem persists, please check if your server is properly configured to handle the sitemap requests. For Apache servers, ensure that the following rewrite rules are added to your .htaccess file:

    # START of Rank Math Sitemap Rewrite Rules
    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]
    RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
    # END of Rank Math Sitemap Rewrite Rules

    For Nginx servers, add the following to your configuration file:

    # START Nginx Rewrites for Rank Math Sitemaps
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
    rewrite ^/([a-z]+)?-sitemap.xsl$ /index.php?xsl=$1 last;
    # END Nginx Rewrites for Rank Math Sitemaps

    After making these changes, clear your website cache again and try accessing your sitemaps. If you still encounter issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!

    Hello,

    Please ensure that your taxonomies are already set to index in Rank Math > Titles & Meta > [Taxonomy] > Robots Meta.

    Also, please check if they are enabled in Rank Math > Sitemap settings.

    If the issue persists, you may share the sitemap URL so we can check as well. You can add it to the sensitive data section by editing your first post

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘404 sitemap category product’ is closed to new replies.