Sitemap /product_cat-sitemap.xml returns 404 error after URL structure change

#722254
  • Resolved Milos
    Rank Math free

    Hello! I have a sitemap problem on mbs.rs website which occured after product category URL stucture change – one part of the general sitemap “/product_cat-sitemap.xml” in Google Search Console returns HTTP 404 error. I am using RankMath and this is my first time encountering this kind of problem. No matter what I did, this part of sitemap continue to return 404 error. It is not blocked in robots.txt, I tried flushing sitemap cache, purge website cache, apache code in htaccess, notning works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello! We’re sorry to hear about the issue you’re facing with the sitemap on your website after changing the product category URL structure. This can indeed be frustrating, but we’re here to help.

    The 404 error for the “/product_cat-sitemap.xml” in Google Search Console can be caused by various factors, including the recent URL structure change. Since you’ve already tried flushing the sitemap cache and purging the website cache, it’s possible that there might be other underlying issues causing this error.

    To address this issue, we recommend following the steps outlined in our knowledgebase article on why the sitemap_index.xml is throwing a 404 error. This article provides detailed information on the common causes of sitemap 404 errors and how to fix them.

    If you’ve already tried these steps and are still experiencing issues, please reply to this ticket, and a human agent from our support team will take over to assist you further. Thank you for bringing this concern to our attention.

    Sources:
    Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    How to Configure Sitemaps in Rank Math – Best Settings and Tips

    Hello,

    Thank you for contacting support.

    Your entire sitemap is now throwing a 404 error meaning that this is cache-related.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    That should fix the issue.

    Please let us know if that does not. We are here to assist.

    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 ‘Sitemap /product_cat-sitemap.xml returns 404 error after URL structure change’ is closed to new replies.