Answer the question
In order to leave comments, you need to log in
Rewrite mod trim extra parameters?
In $_GET comes:
Array ( [IB_CODE] => karter [SEC_CODE] => 4548 [type] => 1?bxrand=1464870999788 )
[type]=1?bxrand=<microtime>
should be
instead [type]=1
Answer the question
In order to leave comments, you need to log in
You would bring the current set of mod_rewrite rules.
He needs to be corrected.
If it's like this directly based on what is - replace ?bxrand=$1 with &bxrand=$1
there was a similar problem on one of the projects, the detailed page did not work, I used this design
$_REQUEST["ELEMENT_CODE"] = preg_replace("/((?<=\\?)bxrand=\\d+&?|&bxrand=\\d+\$)/", "", $_REQUEST["ELEMENT_CODE"]);
$_REQUEST["ELEMENT_CODE"] = rtrim($_REQUEST["ELEMENT_CODE"], "?&");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question