I have the following mod_rewrite rule:
RewriteRule ^([^/.]+)/?$ search.php?action=procedure&procedureName=$1
This works great in redirecting things like / blabla to / search.php? Action = procedure & procedureName = blabla
The problem is that sometimes I want to pass the value "start" (for pagination). For example, / blabla /? Start = 20.
Currently, he is simply ignoring this. The listing of the $ _REQUEST array does not show "start". I tried to change the rule as follows:
RewriteRule ^([^/.]+)/\?start=([0-9]+)$ search.php?action=procedure&procedureName=$1&start=$2
RewriteRule ^([^/.]+)/?$ search.php?action=procedure&procedureName=$1
But it did nothing.
Any idea?
thanks
source
share