• Resolved everythingred

    (@everythingred)


    Hey. I installed rank math and did the sitemap settings to enable posts. When I click pages sitemap link, it works. However, the posts one redirects to the homepage. Any reason why post sitemap doesn’t work?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @everythingred,

    Thank you for reaching out to us and bringing your concern to our attention.

    Can you please confirm if you have an existing post being added to your website? If yes, 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');

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If the issue persists, please share some of your post URLs here so we can take a closer look at them.

    Looking forward to helping you.

Viewing 1 replies (of 1 total)
  • The topic ‘No posts on sitemap’ is closed to new replies.