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

Benefits of Google Maps Street View
Benefits of Google Maps Street View
Top 10 Communication Channels for Your Business
Top 10 Communication Channels for Your Business
How to Change Your Name on Facebook
How to Change Your Name on Facebook

Number of Total Worldwide Registered Domains Updated: Apr 18 2021