For an unknown reason some sites link to mine with encoded url (info got from google webmaster tools).
Something like http://domain.tld/file.php%3Fid%3DUSERid%26cat%3Dsmth instead of http://domain.tld/file.php?id=USERid&cat=smth
I've tried several things (conditions, rules) from htaccess (httpd.conf) to rewrite encoded urls.
An approach is to RewriteRule ^file.php(.*)$ index.php?qs=$1 and handle $_GET['qs'] from index.php
Is it possible to Rewrite the encoded url? Or at least to match %3F and the others.