With php
PHP Code: 
<?php
   
if($_SERVER['REMOTE_ADDR'] != 'YOUR IP HERE')
   
header("Location: http://google.com");
   
?>
with htaccess
http://kb.siteground.com/article/How...ther_site.html
mRAza Reviewed by mRAza on . Coding: Redirect IP help I want to have extra privacy for my site page. I want my site to redirect all visitors to google.com except for my IP.. Can someone give me the code for this? Thanks :'( Rating: 5