Posts Sitemap Not Loading in Google Search Console

#1075725
  • Resolved Petr Křenek
    Rank Math free

    Hi,
    I’m using Rank Math and the sitemap index works fine in Google Search Console. The category sitemap and page sitemap are successfully processed, but the post sitemap (https://obasketu.cz/post-sitemap.xml) returns a general HTTP error and cannot be read by GSC. https://imgur.com/a/HfdvNbY

    When I open the post sitemap manually in my browser, it seems to be working and lists valid post URLs.

    Can you please help me identify what might be causing this issue?

    Thank you in advance,
    Petr

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

    We apologize for the issue you are facing with the post sitemap not loading correctly in Google Search Console. Since the post sitemap appears to be working when accessed directly in your browser, there could be a few reasons why Google Search Console is returning an HTTP error.

    Here are some steps you can take to troubleshoot this issue:

    1. Check for Plugin Conflicts: Sometimes, other plugins can interfere with how sitemaps are generated or accessed. You can use the Health Check plugin to identify any potential conflicts.

    2. Verify Robots.txt Settings: Ensure that your robots.txt file is not blocking access to the post sitemap. You can check this by going to Rank Math SEO → General Settings → robots.txt.

    3. Check Server Configuration: If you are using Nginx or Apache, ensure that the server is configured correctly to handle the sitemap requests. For Nginx, you may need to add specific rewrite rules as mentioned in our documentation. For Apache, similar rules should be added to your .htaccess file.

    4. Clear Cache: If you are using a caching plugin, clear the cache and try re-submitting the sitemap in Google Search Console.

    5. Rename the Sitemap File: As a last resort, you can try renaming the sitemap file in Google Search Console by submitting it as `https://rankmath.com/kb/fix-sitemap-issues/#blank-page to see if that resolves the issue.

    If these steps do not resolve the problem, 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, and we hope to help you resolve it soon!

    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.

    We checked your post sitemap and it seems to be working just fine when we visit the sitemap in the browser.

    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.

    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 ‘Posts Sitemap Not Loading in Google Search Console’ is closed to new replies.