Generated sitemap is incomplete

#843692
  • Resolved Christian
    Rank Math free

    I created a webshop and installed your plugin. See sensitive data for the URL.
    My goal is to have a sitemap which includes all pages of my website, especially the products.

    When I click the link to the sitemap (…/sitemap_index.html) I see three links only:
    …/page-sitemap.xml
    …/product-sitemap.xml
    …/product_cat-sitemap.xml

    Problem:
    When I click one of these links, I get redirected to the front page.

    Could you please check?

    My questions:

    1.) How do I achieve that all product URLs get included into the sitemap?

    2.) And how can I submit the sitemaps to Google Search Console? I connected my website with Google Search Console via Rank Math.

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

    We apologize for the issue you are facing with your sitemap. Thank you for raising this concern.

    1. Including All Product URLs in the Sitemap

    To ensure that all product URLs are included in your sitemap, please check the following settings in Rank Math:

    • Include in Sitemap: Make sure that the option to include products in the sitemap is enabled. You can find this setting under the Products tab in the sitemap settings.
    • Product Visibility: Ensure that your products are set to be visible and not marked as private or draft.
    • Check for Plugin Conflicts: Sometimes, other plugins can interfere with sitemap generation. You can use the Health Check plugin to identify any conflicts.

    If you have checked these settings and are still experiencing issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    2. Submitting Sitemaps to Google Search Console

    To submit your sitemap to Google Search Console, follow these steps:

    1. Sign in to Google Search Console using the same account you used to connect your website.
    2. Navigate to Sitemaps: Select your website and click on "Sitemaps" in the left sidebar.
    3. Enter Sitemap URL: In the "Add a new sitemap" field, enter sitemap_index.xml (this is the main sitemap index that includes links to all your individual sitemaps).
    4. Submit the Sitemap: Click on "Submit" to complete the process.

    For more detailed instructions, you can refer to our guide on How to Submit a Sitemap to Google.

    If you continue to experience issues with your sitemap or have further questions, please let us know by replying to this ticket. We’re here to help!

    Sources:
    How to Configure Sitemaps in Rank Math – Best Settings and Tips
    How to Submit a Sitemap to Google » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    I still need help from a human agent.

    Hello,

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

    We tried clicking on one of the sub sitemaps and it seems to load without any issues. It is currently not redirecting to your homepage.

    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/

    As for your questions.

    1. To include any type of page in your sitemap, the page/post needs to be set to index in the robots meta with a canonical URL pointing to itself.

    2. If you have successfully connected your GSC to your Rank Math plugin, then Rank Math will automatically submit the sitemap for you. You may also manually submit your sitemap by following this guide: https://rankmath.com/kb/submit-sitemap-to-google/

    Hope that helps.

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

The ticket ‘Generated sitemap is incomplete’ is closed to new replies.