First, it is hard to believe that wp_redirect
isn’t working, below some (example) code how to use it:
function wpse101952_redirect() {
global $post;
if( /*SOME CONDITIONAL LOGIC*/ ) { //examples: is_home() or is_single() or is_user_logged_in() or isset($_SESSION['some_var'])
wp_redirect( /*SOME SPECIFIC URL*/ );
exit();
}
}
add_action( 'template_redirect', 'wpse101952_redirect' );
Second, there would be the question if that is the right approach for your case, but for that to decide you should elaborate on what you are trying to do a little bit more.
edit:
The function get_post_type_archive_link()
gives you the complete permalink, you don’t need to add http://
and ?post_type=property
:
wp_redirect( $redirecturl . "?search_keyword=" . $search_keyword );