Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wrong redirect when URL contains ID in string


  • royurbanmedia
    Participant

    @royurbanmedia

    Currently I have a problem with profile URLs in bbPress redirecting to the wrong page if a user has a number in their name that happens to match a page ID.

    What I mean is currently if I click a URL like this: http://www.mywebsite.com/forums/users/myusername

    It will direct me to the forum profile of someone with the username ‘myusername’ as expected.

    However, if I click on a URL like this: http://www.mywebsite.com/forums/users/myusername94

    Instead of directing me to the profile of myusername94 as expected, it actually redirects me to a completely different page which ends up being the page with ID 94, i.e http://www.mywebsite.com?p=94

    I am guessing this may have something to do with permalink settings, which are currently set to Post Name. Is there a way to resolve this issue while still being able to use the same permalink structure?

  • You must be logged in to reply to this topic.
Skip to toolbar