Jump to content


Change Your Default Index To Something Else!

  • This topic is locked This topic is locked
No replies to this topic

#1 TCH-Sales



  • Members
  • PipPipPipPip
  • 1,516 posts

Posted 03 September 2003 - 06:46 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users