bbpress Forums/Topics/Replies not appearing in sitemap

#1055471
  • Resolved Hakunamatata
    Rank Math free

    Please check forums/topics/replies are not appearing in main sitemap comprising of posts, categories, etc.

    Currently, there are no topics/replies but newly created forums
    which are neither appearing at main sitemap nor at forum sitemap and its 404 on forum sitemap.

    I understand for now, these are to be empty but why 404 at topic and reply sitemap.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    We apologize for the issue you are facing with the bbPress forums, topics, and replies not appearing in your sitemap. It sounds like there may be a few things to check to resolve the 404 error and ensure that your forums are properly indexed.

    1. Flush Permalinks: Sometimes, flushing the permalinks can resolve issues with sitemaps. You can do this by going to your WordPress admin area and navigating to Settings → Permalinks, then simply click the “Save Changes” button without making any changes. This often resolves 404 errors related to sitemaps.
      Flush permalink settings

    2. Check Forum Module: Ensure that the bbPress module is enabled in Rank Math. You can check this by going to WordPress Dashboard → Rank Math SEO and confirming that the bbPress module is active.
      enable bbPress module

    3. Content Requirement: Since you mentioned that there are currently no topics or replies, it’s important to note that sitemaps will not generate entries for empty forums. You may need to create at least one topic or reply for them to appear in the sitemap.

    4. Sitemap Settings: Make sure that the settings for including forums, topics, and replies in the sitemap are enabled. You can find these settings under Rank Math SEO → Sitemap Settings.
      Include Topics in Sitemaps

    If you have checked all of these and are still experiencing issues, we recommend replying to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern, and we hope to help you resolve it soon!

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Rank Math ‘Titles and Meta’ Options and Settings

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    What you’re seeing is expected behavior. Since there are no topics or replies yet, the respective sitemaps return a 404. Once a topic or reply is published with an indexable meta tag and proper canonical, Rank Math will generate the sitemaps automatically.

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

    Dear Jeremy.
    Thanks so much for your response regarding topics and replies.

    Why forum sitemap is not appearing in main /sitemap_index.xml along with other posts / categories sitemap
    Why /forum-sitemap.xml is also returning 404 when there are 2 forums at time of posting this.

    Hello,

    Please follow the steps below to see if that works for you.

    #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 from caching. 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. If the above steps don’t seem to work, kindly apply the following filter code to your site.

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

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, please clear your website cache including server-side cache, and check the sitemap again.

    Let us know how it goes. We look forward to hearing from you.

    Thank you.

    Step 1 itself worked.
    Thanks so much.

    Please note this link doesnt include flyingpress: https://rankmath.com/kb/exclude-sitemaps-from-caching/
    Thanks again.

    Hello,

    Glad that helped and thank you for your feedback.

    This will send this to our team to check.

    Please do not hesitate to let us know if this doesn’t help or you have any follow-up queries.

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

You must be logged in to reply to this ticket.