In my document root, I have to directories:
foobar, both with their own index.html files.
How can I set it up so that when someone visits my site at
example.com, they see the contents on
I tried using an
index.php with a redirect in document root, as well as a
.htaccess redirect, but both of them change the URL in the browser to
example.com/home/, which I would like to ideally avoid.
Why don’t you just move the contents of
home up one directory?
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.