Dumb question - default home page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amphicar770
    Member
    • Mar 2005
    • 37
    • 3.0.0 Release Candidate 4

    Dumb question - default home page

    Hi all,

    I have vb installed in my public_html/forum directory.

    Currently I have cpms also installed which creates an index.php file in /public_html and sets up my default home page.

    I am looking to ditch the CPMS. What would I need to replace index.php with (filename and content) so that a user visiting mysite.com would see my vb forum as the default home page?

    Thanks.
  • Andy Huang
    Senior Member
    • Feb 2004
    • 4602

    #2
    You can either move the forum to the root directory so it goes www.yoursite.com will give you the forum; or you can add this to the index.php and have it automatically forward www.yoursite.com/ to www.yoursite.com/forum/
    PHP Code:
    <?php
    header
    ("Location: http://www.yoursite.com/forum/");
    ?>
    Be sure to change yoursite.com and forum if you're actually using something else...
    Best Regards,
    Andy Huang

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...