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

Xel xel at netgra.de
Fri Apr 4 21:28:16 GMT 2008


Ahh - that might work even better...
But I'd strip the last / - cause you will want this to work if one only
types example.org/forum instead of example.org/forum/


2008/4/4, Sabin Iacob <iacobs at m0n5t3r.info>:
>
> 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
> (right?)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list