You’re using a +
sign for the first instance of string concatenation. Using a .
instead should fix it.
Additionally, WordPress provides some useful functions that might make this code easier:
wp_redirect(
add_query_arg(
array(
'post_type' => 'property',
'search_keyword' => $search_keyword,
'submit' => 'Search',
'price-min' => $price_min,
'price-max' => $price_max,
'city' => $address_city,
'state' => $address_state,
'zip' => $address_zip,
'beds' => $beds,
'baths' => $baths,
),
site_url()
)
);
add_query_arg()
allows you to build a URL with new query arguments, instead of using messy string concatenation.