I have a huge .htaccess file, with a lot of rewrites. i want to make a modification, that will affect every rewrite.
Let's say I have
RewriteRule ^(.*)/(.*)-([0-9]+).html$ request.php?id=$3&txt=$2&cat=$1
If i will have www.mysite.com/magic/info-212.html?condition=1
i will want to add to request.php
that condition=1
, but i can have anything after ?
(eg: add=magic
, kill=php
)
I don't want to modify all the rewrites for something that may be or not be added.