wordpress functions.php redirect pages star with code example Example: wp redirect wp_redirect( $url );