Info
- 3 posts
- 2 voices
- Started 2 years ago by iang
- Latest reply from iang
- This topic is resolved
Setting the default home page
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
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.htmlto be the home page for the domain:DirectoryIndex home.html index.html index.phpThat 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.
-
- Posted 2 years ago #
It works like a charm...you are the best! Thanks much.
-
You must log in to post.