Not able to exclude pages in sitemap

#50964
  • Resolved Rajveer Singh
    Rank Math free

    I want to exclude some pages so that google cannot fetch them again when I submit sitemap again. I have added page IDs like 1478,1238,1849 in post exclude section and hit submit button but still I am able to see these pages links on sitemap page.

Viewing 1 replies (of 1 total)
  • Todd
    Rank Math free

    Thanks for getting in touch with us.

    You must add all the sitemap file locations to the exclusion list in your Cache plugin so that the sitemaps are never cached. These are the files you must add to the exclusion list:
    sitemap_index.xml
    post-sitemap.xml
    page-sitemap.xml
    category-sitemap.xml
    product-sitemap.xml

    This is required since Sitemaps are already cached internally by Rank Math and we flush them everytime you post something new and with our cache – you won’t see the issue you are seeing in Google.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

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

The ticket ‘Not able to exclude pages in sitemap’ is closed to new replies.