Jump to content

Change Your Default Index To Something Else!


Recommended Posts

When you open up your website, it’s your "index.html" that loads right? Ever thought it would be nice if somebody went to yoursite.com that they’d go to “under_construction.html” instead? It can be done by editing your .htaccess file. Here’s what you have to do. Add this to your .htaccess file:


>DirectoryIndex under_construction.html


This will treat "under_construction.html" as your default page instead of your "index.html" file.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...