sitemap_index.xml generating empty sitemaps

#95571
  • Resolved Daniel Vikbladh
    Rank Math free

    Hi,

    I have a custom Post Type with 2600 posts that I don’t want to index except for a few posts. I have marked those posts that I want to index under Advanced Tab in Rank Math. Those posts are displayed in the sitemap as they should. However, a lot of extra sitemaps are generated in sitemap_index.xml that are empty and lead to 404 pages. Is there a way for it to only generate necessary sitemaps?

    See link for a screenshot of sitemap_index.xml : https://www.evernote.com/l/AAXeJR6WY7dG9osqdi5yh8BuCu2tA6Ls6jQ

    Thanks for a great plugin. 🙂

    Best Regards
    Daniel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sajid Khan
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/xXXhDt

    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.

    That should fix the issue. Please let us know if that does not. We are here to assist.

    Hi and thanks for your reply,

    Yes, I have done those steps before. (Flush the Sitemap and excluding Sitemap’s in caching plugin.)

    Note that sitemap_index.xml contains unnecessary sitemaps for a custom post type with 2600 posts. So I got 13 blank sitemaps. Check screenshot from previous post. All of those 13 sitemap’s leeds to 404 pages. It’s only 3 posts of those 2600 posts that are marked with “index” in Robots Meta all other are marked with “no index” as default in that post type group settings. Hope it explains better?

    Thanks.

    Hello,

    It seems your sitemap is not being generated automatically according to the number of your posts as it should be.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

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

The ticket ‘sitemap_index.xml generating empty sitemaps’ is closed to new replies.