disabling access to website temporary for all visitors Except myself
snippet in htaccess

disabling access to website temporary for all visitors Except myself

user7293

if($_SERVER['SERVER_ADDR'] != '10.233.34.12'){
  header("Location: http://example.com/siteUnderMaintenance.php");
 die();
}