Skip to:
Content
Pages
Categories
Search
Top
Bottom

Pagination URLs in Profile not generating correctly, leads to 404


  • elliesatt
    Participant

    @zee300

    (I’ve posted this previously but it got stuck in moderation, so I’m removing most of the URLs, hope that was the issue.)

    I’ve been battling this bug for months now and it’s driving me up the wall.

    When a forum user has more than one page of forum topics or replies, the pagination links do not generate correctly.

    Take this user, for example: …com/members/adaptprep/forums/

    For forum topics, the URL that is generated for the page 2 link is:
    …com/members/adaptprep/page/2/
    when it should be
    …com/members/adaptprep/forums/topics/page/2/

    For forum replies, the URL that is generated for the page 2 link is:
    …com/members/adaptprep/page/2/
    when it should be
    …com/members/adaptprep/forums/replies/page/2/

    I have seen many users with similar issues, but so far no solutions. Can anyone help?

    Wordpress version 5.9
    bbpress version 2.6.9
    Website https://300hours.com

    Thanks!

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

  • Robin W
    Moderator

    @robin-w

    next page works fine on my test site.

    Standard tests need to be performed

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back


    jgasba
    Participant

    @jgasba

    @zee300 can you confirm you are using buddypress?
    I’ve noticed exactly the same thing on my install and have reported it on BuddyPress forums.


    jgasba
    Participant

    @jgasba

    I updated an issue about this on bbPress trac: https://bbpress.trac.wordpress.org/ticket/3355#comment:4


    Robin W
    Moderator

    @robin-w

    I’m not quite clear what you are saying – only because I don’t have need of buddypress, so don’t know what it us looking for 🙂
    from the 2 functions in the trac ticket, which function needs to return what different answer?

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