Underconstruction redirect Function
Underconstruction redirect
Copy this code and paste it in your HTML
function underconstruction(){
if($_SERVER['REMOTE_ADDR']!=='93.76.173.26'){
header('Location: http://1a.test04.pp.ua/underconstruction.html'); }
}
// add_action('init', 'underconstruction');
Report this snippet
Comments
Subscribe to comments