You have, as examples:
<a href="/showProductsMainCategoryWise?main_category=Women Fashion">
<a href="/showProductsCategoryWise?main_category=Women Fashion and category=Women Clothing">
These are not valid query variables in the url.
You must not have spaces within the href
, they’re not going to get passed through to the server.
One of your options would be to URL-encode those variables, and then decode them on the server.