Underconstruction redirect Function


/ Published in: PHP

Underconstruction redirect


Copy this code and paste it in your HTML
  1. function underconstruction(){
  2. if($_SERVER['REMOTE_ADDR']!=='93.76.173.26'){
  3. header('Location: http://1a.test04.pp.ua/underconstruction.html');
  4. }
  5. }
  6. // add_action('init', 'underconstruction');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.