Redirect all url with a query string in php

<IfModule mod_rewrite.c>     RewriteEngine On     RewriteCond %{QUERY_STRING} !(^|&)testing=true(&|$) [NC]     RewriteRule ^ %{REQUEST_URI}?testing=true [L,QSA,R]     RewriteCond %{REQUEST_FILENAME} !-f     RewriteCond %{REQUEST_FILENAME} !-d     RewriteCond $1 !^(index\.php|public|images|robots\.txt|css)     RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>