Home › Forums › WoodMart support forum › control/expand header item length width ? › Reply To: control/expand header item length width ?
November 21, 2022 at 10:56 am
#422438
qtwrk555
Participant
Hi,
thanks, luckily I was able to work around it
in case anybody else hit same issue as I did , here is my solution :
since my goal is to make
/?s=something&post_type=product
to become
/?s=something&search_id=1&post_type=product
then I come up a rewrite rule
RewriteCond %{QUERY_STRING} s=(.*)&post_type=product
RewriteRule .* /\?s=%1&search_id=1&post_type=product [L]
that will grab the s=xxx
item , then rewrite it to the desgianted URL with %1
as back reference