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:
- Go to your WordPress admin area.
- Navigate to Settings → Permalinks.
- Click the Save Changes button, even if you didn’t make any changes on the page.

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

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.