RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*?)$ index.php?qrcode=$1 [QSA,L]