sitemap error

#296246
  • Resolved Gianni
    Rank Math free

    Hi, I followed the directions on the sitemap putting the maximum limit to 200 urls, but search console indicates that they are not recoverable. Also, not all post sitemaps were reduced to 200 urls but remained at 1000. How can I fix this?
    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    This usually happens when the sitemap is cached along with the other pages on your website.

    Please exclude the sitemaps from caching from the caching plugin and Cloudflare by following this guide:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Also, add this filter in the theme’s functions.php file:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Then, clear the website and browser cache and check the sitemap.

    I hope this helps.

    Looking forward to helping you.

    Gianni
    Rank Math free

    Hi, thanks for your reply, but the solution doesn’t work.
    Here is an example link https://www.pantareinews.com/sitemap_index.xml/post-sotemap10.xml which leads to a 404 page

    Gianni
    Rank Math free

    You can see the search console results in this image Sitemap error on search console

    Prabhat
    Rank Math agency

    Hello,

    I checked and the post-sitemap10 along with other sitemaps have 200 URLs.

    Here’s a screenshot: https://i.rankmath.com/3DcxoL

    If you’re still seeing 1000 URLs, then please clear your website and browser’s cache and see if that fixes the issue.

    Also, after clearing the website’s cache, please remove all the sitemaps from your Google Search Console account, and then submit only the main sitemap (https://www.pantareinews.com/sitemap_index.xml).

    Further, give Google some time to crawl your website again and see if the issue gets fixed.

    Hope this helps.

    Thank you.

    Gianni
    Rank Math free

    I did as you said, search console already returns error, I will wait a bit then let you know.
    The URL check says it’s not on Google

    Prabhat
    Rank Math agency

    Hello,

    It would take some time for Google to crawl the website again and see the changes.

    Sure, please wait until the website is crawled again and see if the issue is fixed.

    In the meantime, if there’s anything else that we can assist you with, please let us know.

    Thank you.

    Gianni
    Rank Math free

    Search Console reports the noindex tag as an error

    Prabhat
    Rank Math agency

    Hello,

    Could you share the affected URL (the URL for which the error is reported) so that we can check it on our end?

    Looking forward to helping you.

    Thank you.

    Gianni
    Rank Math free

    https://www.pantareinews.com/sitemap_index.xml/

    error is on all sitemap according Search Console

    Anas
    Rank Math business

    Hello,

    The sitemaps, by default, are set to noindex as you do not want them to get indexed and appear in the search results.

    The sitemap should only be submitted in the sitemaps sections and not in the URL Inspection Tool, the URL Inspection Tool will show the error as sitemaps by default are set to noindex.

    I hope this helps.

    ​​​​​​​Don’t hesitate to get in touch if you have any other questions.

    Gianni
    Rank Math free

    I apologize for my mistake, I will wait for the new reading and let you know
    Thanks

    Hello,

    Sure, let us know how this goes.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further with anything else.

    Looking forward to helping you.

    Thank you.

    Gianni
    Rank Math free

    Hi, now all its ok with sitemap
    Thank you

    Azib Yaqoob
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

The ticket ‘sitemap error’ is closed to new replies.