I'm trying to figure out how to restrict my home page so that only my IP address can access index.php. I don't want to completely shut down my site to other tho. Here's what I have in mind.
If the IP address is mine, go to index.php
All others are redirected to index.html