rewriting / remapping forum to top-directory
I have successfully installed bbpress on my existing site where I run WP 3.4.2, BP 2.2.2 and bbPress in it’s newest version.
The homepage is a custom programmed php-application, let’s say it runs under http://www.abc.com
The WP-blog runs under http://www.abc.com/community
The BP-part runs under http://www.abc.com/community/activity
and at the moment, the bbPress-forums run under http://www.abc.com/community/discuss/forum/
and a subforum runs under http://www.abc.com/community/discuss/forum/mysubforumtitle/
However, I’d like to remap this to http://www.abc.com/forum for the forum main page and http://www.abc.com/forum/mysubforumtitle/ for the subforum.
I was able to remap the main-forum-page by adding
RewriteRule ^forum/(.*) http://www.abc.com/community/discuss/$1 [NC,L,P]
to my .htaccess but of course, the links to sub-forums still point to http://www.abc.com/community/discuss/forum/mysubforumtitle/
Is there a way I can completely run the forums directly under http://www.abc.com/forum/* ?
I’d be really glad for any help or hints.
- You must be logged in to reply to this topic.