Fixed redirect url from /index.php to ./index.php