Make the website working when index.php is not in the root path