Skip to:
Content
Pages
Categories
Search
Top
Bottom

Yoast sitemap bug: bbPress reply URLs always point to /forums/reply

  • @ricsca2

    Participant

    Hello,
    I’ve noticed a possible bug in the way Yoast SEO generates sitemaps for bbPress replies.

    – In the topic-sitemap.xml files, the topic URLs are correctly generated and point to the actual topics (e.g. https://www.example.com/topic-name.html).

    – But in the reply-sitemap.xml files, every reply entry points to the same generic URL like https://www.example.com/forums/reply, which doesn’t resolve to the actual reply.

    As a result:

    – These sitemap entries are invalid because they don’t lead to a specific page.

    I built a custom plugin (with ChatGPT’s help) that adds proper URLs for replies, but I’m wondering: does it even make sense to submit reply URLs to Google?
    Wouldn’t it be better if Yoast excluded replies from the sitemap entirely, and only kept topics?

    I also noticed that in the Yoast settings (SEO → Search Appearance → Content Types) it is possible to disable “Replies”. That solves the problem, but shouldn’t this be the default setting?
    Or alternatively, if replies are enabled, shouldn’t Yoast output the correct URLs instead of /forums/reply?

    Can you clarify what the recommended behavior is?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar