Site map is giving HTTP Error: 404

#1004126
  • Resolved sarita009
    Rank Math free

    And I followed all the troubleshooting steps. Hardly Any posts are being indexed. Please help

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

    We apologize for the issue you are facing with your sitemap returning an HTTP Error: 404 and the indexing of your posts. Since you’ve already followed the troubleshooting steps, here are a few additional suggestions:

    1. Check Your Sitemap URL: Ensure that your sitemap is correctly located in the root folder of your WordPress installation. The URL should look like this: https://yourdomainname.com/sitemap_index.xml.

    2. Validate Your Sitemap: Use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. If there are issues, it will help identify them.
      An example displaying how to validate a sitemap

    3. Flush the Cache: If your sitemap appears outdated, navigate to Rank Math SEO → Sitemap Settings, increase the value of the Links Per Sitemap by one, and save your settings. Then, go to Settings → Permalinks and click Save Changes to ensure the current settings are applied.
      Increase links per sitemap
      Flush Permalinks

    4. Exclude the Sitemap From Caching: Make sure your sitemap is not being cached. You can refer to this article on how to ensure that your sitemaps are excluded from caching.

    5. Check Server Settings: If the problem persists, it might be worth checking with your web hosting provider to ensure that your server is configured correctly and is returning the right status codes for your pages.

    If you continue to experience issues, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern!

    Hello,

    Thank you so much for getting in touch.

    Checking the website that is connected to your Rank Math account, the sitemap seems to be loading just fine.

    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 resubmit only the sitemap index (https://yoursite.com/sitemap_index.xml).

    Let us know how that goes. 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 ‘Site map is giving HTTP Error: 404’ is closed to new replies.