Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to prevent bb_repermalink from calling a 404


  • AphelionZ
    Participant

    @aphelionz

    I need to create a few urls from my forum root at /community like so:

    /community/forums/ – shows just a simple list of all forums

    /community/leaderboards/ -custom functionality

    /community/achievements/ – more custom functionality

    It’s easy enough to achieve this with a query string and if statements in front-page.php, but I’m trying to use .htaccess to achieve this like so:

    RewriteRule ^forums/$ index.php?view=forums [L,QSA]

    I was getting the bbpress 404 page until I drilled down into bb-admin/functions.bb-core.php and changed line 667 from

    $issue_404 = true;

    to

    $issue_404 = false

    It worked fine but I’m not comfortable changing the core code like that, as it’s indicitave that I’m doing something wrong – but what exactly? What should I change about my approach to get the page to serve correctly?

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