I have a GET request as
I have converted this URL to
but the problem is my URL keeps changing.
If a user enters only a keyword then the URL will be like
http://www.example.com/any+keywordand I only have to search in the title and description.
If a user enters just a category, the URL will be like
http://www.example.com/categoryand I only have to search in the category.
If a user enters a location and keyword, the URL will be like
http://www.example.com/location/any+keywordand I only have to search in the location, title and description and vice versa.
... any help will be appreciated.