I have two domains. I'm using www.example.com
for my normal site and examp.le
for the URL shortener.
I have perfect setup for www.example.com with all rewrite rules.
In my web root for www.example.com, there's a directory called examp.le
.
I wish to redirect all the traffic hitting examp.le
to the index.php in /absolute/path/www.example.com/examp.le
So my question has basically two sub-questions:
- How do I modify the default.conf file so that examp.le maps to the directory in my web root?
- How do I pass
SOMEURLIDENTIFIER
inhttp://examp.le/SOMEURLIDENTIFIER
tohttp://examp.le/index.php?i=SOMEURLIDENTIFIER
?