I need, but don't know how to make, an htaccess file that will send a user, when looking for the home page, to index.php. It should not send them anywhere when they look for a URL like
Adfly, to the best of my knowledge, works like this: you make a link, it stores the shortened link. When the user tries to open the link the htaccess file sends them the contents of another file which reads the URL and proceeds accordingly. My website should work almost exactly as Adfly does.
Can anyone explain or write an htaccess file that would do this?