Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Setting the default home page


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.

Skip to toolbar