change the redirects in index.php