The current URL
www.mydomain.com/?ct_keyword&ct_city=la-jolla&ct_property_type=apartments&ct_ct_status=for-rent
New URL .
www.mydomain.com/valueof-ct_city/valueof-ct_property_type/valueof-ct_status?ct_keyword&ct_city=la-jolla&ct_property_type=apartments&ct_ct_status=for-rent
Note: It should take 3 variables from the string and add it to the path
Example of the results
www.mydomain.com/la-jolla/apartments/for-rent/?ct_keyword&ct_city=la-jolla&ct_property_type=apartments&ct_ct_status=for-rent
And of course, the query string is changing so it should take the variables from the current query string.
The query string has more variables in it, I just want the 3 specified above added to the path.
The site is based on WordPress.
Any ideas on how can I do this?