We have a search functionality where there are few filters. User can select any of the combinations of those filters.
Current Search URL with query string: /pages/search.xhtml?cat=12&mode=1 (Where cat and mode in the query string are two search filters. Also the order of these params might change.)
Required Patterns: /p/search/cat-12/mode-1 (or) /p/search/mode-1/cat-12 (or) /p/search/mode-1 (or) /p/search/cat-12
These patterns depends on user selecting the filters. User can select any of the combinations or none of those filters.
Please advice a solution for our requirement.