I'm not sure if this has been answered before but I tried looking for it. Anyways, I'm currently developing a website but I would like to make the actual site content only accessible from my IP address. I then want .htaccess to redirect all other IP address to a separate file on my server. That one file would be called subscribe.php
.
I've tried a couple things but nothing provided me with the result I wanted. I know my server allows .htaccess
to be used since I've used it to change some other things such as preventing caches.