我在以下网址路径中有两个搜索表单(表单1:user_search,表单2:property_search)
http://dev.test.com/custom_search_page
当我搜索用户时,网址会重定向到
http://dev.test.com/view-user-search?field_user_value=test
同样当我搜索属性时,网址会重定向到
http://dev.test.com/view-property-search?field_location_value=test
网址不应该是这样的。它应该被重写为
http://dev.test.com/custom_search_page?field_location_value=test
如何重写网址??