Question about cloudflare and sitemap

#381188
  • Resolved Alireza Naji
    Rank Math free

    Hello. Thank you for your very professional support. I have two questions and I would be grateful if you could answer them

    One of my clients is going to buy the RANK MATH PRO. He has a news site and publishes a lot of news. It intends to use the news site map after purchasing the pro version. Q: after activating news sitemap module, will the news that is published after that go to the newmap or will all the old news go to the sitemap? i meen if the site has 5000 news articles ( with article/news schema ), will all the news be transferred to news/sitemap after the newsmap is activated or only new news be added to the new/sitemap?

    and other Q: in the sample picture, my client set a page rule inside Cloudflare account and add the following code snippet.

    code:
    sitemap?\.xml?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\xml|xsl)?
    ([az0-9_\-]*?)sitemap([a-z0-9_\-]*)?.xml

    Are these settings correct؟
    https://www.linkpicture.com/q/rankmath.jpg

    thank you, all

Viewing 1 replies (of 1 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with your sitemaps.

    The news sitemap will only have posts from the last 48 hours at any time.

    The Cloudflare sitemap rules are correct. You can refer to the following page for more information: https://rankmath.com/kb/exclude-sitemaps-from-caching/#cloudflare

    Hope that helps. Please let us know if you have questions.

    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 ‘Question about cloudflare and sitemap’ is closed to new replies.