Correct redirect from index.php