correct to redirect to index.php instead of index.html