[wp-hackers] Make WP permalinks ignore a directory?

Sabin Iacob iacobs at m0n5t3r.info
Fri Apr 4 21:15:28 GMT 2008

Alex Hempton-Smith wrote:
> Hey there,
> I have a WordPress 2.5 install and I've just integrated bbPress, which is
> installed into a '/forum/' directory.
> When I visit '/forum/' the bbPress page opens fine, but when I open a thread
> (/forum/topic/your-first-topic) I see a WordPress 404 error page.
> How can I make WordPress ignore that '/forum'/ directory entirely?

I have no experience with bbpress, but

RewriteRule ^forum/.* - [L]

before the wordpress-generated code should do the trick; and bbpress 
rewrites should work, too, since they are handled by forum/.htaccess 

More information about the wp-hackers mailing list