Fix broken index.php URIs