Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Permalinks Slugs Modification – removing forum

I did something similar, but it required a core hack. I renamed the second “forum” to “board”. It required two steps:

1. With version 0.8.3, I modified line 363 of /bb-includes/template-functions.php to this:

$link = bb_get_option( 'uri' ) . "board/" . $forum->$column . ( 1 < $page ? "/page/$page" : '' );

2. I created an htaccess file by copying the text from /bb-admin/rewrite-rules.php, with two extra lines:

RewriteRule ^board/(.+)/page/([0-9]+)$ /forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^board/(.+)/?$ /forum.php?id=$1 [L,QSA]

Skip to toolbar