Return to Snippet

Revision: 75328
at March 11, 2019 03:29 by cerxx


Initial Code
function underconstruction(){
		if($_SERVER['REMOTE_ADDR']!=='93.76.173.26'){
			header('Location: http://1a.test04.pp.ua/underconstruction.html');
			exit;
		} 	
	}
	// add_action('init', 'underconstruction');

Initial URL

                                

Initial Description
Underconstruction redirect

Initial Title
Underconstruction redirect Function

Initial Tags
wordpress

Initial Language
PHP