Skip to:
Content
Pages
Categories
Search
Top
Bottom

Setting the default home page


  • iang
    Member

    @iang

    I have created several static pages on my site (www.wbs80.com) which is using bbpress.

    I would like the static page called “Home” to be the default page seen when my site is visited.

    Currently the default is the “Forum” page. How do I change this?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

  • chrishajer
    Participant

    @chrishajer

    Looks like you are using an Apache web server. If that’s the case, edit the .htaccess file in the root folder of the website, and make the index page for the site whatever you want. It might look like this is you want a static page home.html to be the home page for the domain:

    DirectoryIndex home.html index.html index.php

    That says “look for a file called home.html first, and serve that if it’s present. If not, look for index.html next and then index.php.” It’s good to have at least two in there, so if the first one is not present, it can fall back on the second one.

    If you host does not allow this override in the .htaccess, then you will need to do something different. This is the easiest way. Post your results after you try it.


    iang
    Member

    @iang

    It works like a charm…you are the best! Thanks much.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.