How to Change the Default Start Page

web hosting, design, search engine optimization and marketing news

How can I make home.php (or other custom page) web site's default page? That could be done with .htaccess file of your root project. In this file you can specify which file will be shown first and what is the preferred order. Here is an example:

DirectoryIndex home.html index.html index.htm index.php

Just put home.php (or another) first, it can be the only one file or multiple. If there are several files, like we have in the example, browser will try to load first home.html then index.html...

Sergio Avatar

Sergio Sviridov

Information Delivery Specialist


SEO, Design and Marketing Blog

How to Delete a Google Review
How to Delete a Google Review?
Top Local Business Directories for SEO
Top Local Business Directories for SEO
How to Force SSL with htaccess

Number of Total Worldwide Registered Domains Updated: Jan 23 2021