#1 - You can edit your .htaccess file and put this in it DirectoryIndex main.html #2 - Just do a 301 redirect in PHP in your index.php file <?php // Permanent redirection header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.mysite.com/main.php"); exit(); ?>