A question from WordPress support forums:
i built a forum, located here: www.mysite.com/forum, i want to display the forum button along side with home and about pages buttons, and have it linked to the above url, how do i do this?
There are several ways to get it done. Here’s one that is probably going to be the easiest for you.
- Create an empty page called Forum with the slug forum.
- Create a file in your theme directory called forum.php.
- In that file, put the following:
<?php header('Location: http://yoursite.com/forum/'); die(); ?>
Be sure that the file starts with <?php and there is no whitespace in front of the <.
This will create a link to the (empty) forum page, which would redirect to the forum.