You can actually work around it using PHP, instead of redirect. Your host will have to support PHP (at least version 3).
PHP Code:
<?php // True homepage file $trueHome = "http://www.yourdomain.com/home.htm"; // Load here if (file_exists($trueHome)) { include($trueHome); } else { echo "<h1>Page Cannot Be Displayed</h1>\n<p>You have tried to access a page that does not exist on this server.</p>"; } ?>
Save this as index.php
Change the value in trueHome (the web address) to the page and extension you want to use for your home page. It will check to see if the file exists in the event that it does, then it will load it (display it). Otherwise, it will produce a can not be displayed error. There is HTML markup and \n. The markup is automatically parsed and displayed as it should. The \n simply means new line.
Really, there isn't any point but it helps if you want to go down a more advanced PHP route.
__________________
Please login or register to view this content. Registration is FREE - Tumblog with thoughts, quotes, links, videos, images and my creations.
Please login or register to view this content. Registration is FREE - The best free web browser.
Please login or register to view this content. Registration is FREE - Firefox is now Firefail.
Last edited by Mooofasa; 12-03-2006 at 08:13 AM..
|