Home Page is missing from xml sitemap.

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

    I’m sorry to hear that your homepage is missing from the XML sitemap. Thank you for trying the solutions provided in the article you mentioned.

    To address the issue of your homepage missing from the XML sitemap, please follow these steps:

    1. Check Sitemap Accessibility: Verify if your sitemap is accessible using a tool like httpstatus.io. Ensure that there are no issues preventing Googlebot from accessing your sitemap.

      Check if sitemap is accessible in httpstatus tool

    2. Exclude Sitemaps from Caching: If your sitemap is being cached, exclude it from caching. You can refer to our guide on how to exclude Sitemaps from caching.

    3. Submit Correct Sitemap: Make sure you have submitted the correct sitemap, especially sitemap_index.xml. Ensure that all inner sitemaps, like post-sitemap.xml, are visible in Google Search Console when clicking on sitemap_index.xml.

    If after following these steps your homepage is still missing from the XML sitemap, please let us know so we can assist you further.

    Thank you for reaching out to us for help.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Indexed, Not Submitted in Sitemap – Google Search Console » Rank Math
    Multilingual SEO with Rank Math SEO & WPML » Rank Math

    Hello,

    Please share the affected sitemap URL so we can check as well.

    For additional troubleshooting, please follow these steps to flush your sitemap cache:

    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. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how this goes.

    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 ‘Home Page is missing from xml sitemap.’ is closed to new replies.