Changing default / index page via htaccess
Posted: June, 11 2009If your working on a site and would like visitors who access yoursite.com to be redirected (instantly) to a maintenance or under construction page instead?
It can be done by editing your .htaccess file to include the following code. 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.
Related Articles
- 20.05.09: Joomla E-mail could not be sent [FIXED] (6)
- 24.05.09: How to view website on a shared IP (0)
- 30.11.09: Multiple Image uploads in Magento (3)
- 12.10.09: Remove Latest Messages from Magento admin (0)
- 12.08.09: Magento Error: Please check for sufficient write file permissions [fixed] (0)







Comments RSS Feed




Leave a comment