Site built on OpenCart 3.0.2.0
Problem: when doing a search, all links in the search results page have "?search={search_string}&description=true" added to them.
I.e. if I do a search for "big red widget", all of the items on the list of search results have URLs that look like this:
https://example.com/big-red-widget-001?search=big%20red%20widget&description=true"
Option 1: remove this behavior by modifying the OpenCart file/s. Anyone have advice on what to modify & where?
Option 2: delete the extra parameters via .htaccess. Yes, I've found some solutions on removing parameters - such as Remove parameter from URL viac .htaccess.
Problem is, it breaks the search function completely - because the search results page itself uses these parameters:
https://example.com/index.php?route=product/search&search=big%20red%20widget&description=true
So if this solution is implemented, the search results page comes up empty even on valid searches.
Unless there's a way to say "remove these parameters except on this particular page" (search results page)?