WP Safe перенаправление
<?php
// Note: wp_safe_redirect() does not exit automatically,
// and should almost always be followed by a call to exit
// This is for WordPress
?>
<?php
// $url = string
wp_safe_redirect( $url );
exit;
?>
13Garth