Frequent Sitemap 404 Error – Need Immediate Solution

#1048326
  • Resolved Akash
    Rank Math free

    Dear Rank Math Support Team,

    I use Rank Math on all my websites, but I’m repeatedly facing an issue that’s becoming really frustrating. The sitemap often doesn’t show up and instead throws a 404 error.

    I’ve already checked all plugins, reset permalinks, and reviewed the .htaccess file, but I still couldn’t find the root cause. The only temporary fix I’ve found is deactivating and reactivating the Rank Math plugin—after which it starts working again. But this issue keeps coming back.

    I don’t have the time to keep doing this over and over throughout the day. If there isn’t a permanent fix for this, I’ll be forced to stop using Rank Math altogether and switch to alternatives like Yoast SEO, which I know are more stable in this regard.

    Please prioritise this issue and provide a working, long-term solution.

    http://www.MotoVerge.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the sitemap throwing a 404 error. This can indeed be frustrating, and we appreciate you bringing it to our attention.

    Since you’ve already tried resetting permalinks and checking your .htaccess file, we recommend the following steps to potentially resolve the issue:

    1. Flush Permalinks Again: Go to your WordPress admin area, navigate to Settings → Permalinks, and click the “Save Changes” button without making any changes. This can sometimes help refresh the settings.
      Flush permalink settings

    2. Check for Plugin Conflicts: Use the Health Check plugin to identify if there are any conflicts with other plugins that might be causing this issue.

    3. Clear Cache: If you are using any caching plugins, make sure to clear the cache after making changes to your sitemap settings or permalinks.

    4. Server Configuration: Sometimes, server configurations can lead to issues with sitemaps. Ensure that your server is configured correctly to handle the sitemap requests.

    If these steps do not resolve the issue, we recommend considering our professional setup service for a more comprehensive solution. This service is available for users with a PRO subscription and can help ensure that your Rank Math setup is fully optimized and adheres to the latest SEO standards.

    Thank you for your patience, and we hope this helps resolve your issue. If you continue to experience problems, please reply to this ticket, and a human agent from our support team will assist you further.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please follow the steps below:

    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/

    3. Apply the following filter code to your site.

    
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    4. Remove all your sitemaps from your Google Search Console and re-submit only the index sitemap (https://website.com/sitemap_index.xml)

    Let us know how that goes. Looking forward to helping you.

    Akash
    Rank Math free

    Even after doing everything you guided in the article, I am still getting the same issue. Again I just activated-reactive, then this problem got fixed. I mean, what is this RankMath

    Hello,

    We checked your sitemap, and we can see it is currently working properly without any issues:

    null

    However, if you’ve added a filter code we shared above, please head over to the following folder of your website via cPanel or FTP and delete all the XML files from there: wp-content/uploads/rank-math

    Let us know how it goes. Looking forward to helping you.

    Thank 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Frequent Sitemap 404 Error – Need Immediate Solution’ is closed to new replies.