modify index.php for many root paths