bbPress One Forum Only – Permanent Redirect


bbPress supports multiple forums by default, and does not include options to support a only a single forum.

Solution (redirect hack):

Replace the contents of your template’s front-page.php with this code to permanently redirect the forums site to your preferred single forum. “” must be the direct URL to the single forum you want to show:

< ?php
header("HTTP/1.1 301 Moved Permanently");

This will permanently redirect users from the frontpage to the specific forum.

This entry was posted in Web Development. Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.