RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^shop/(.*)$ /shop.php?page=$1 [L]
That works mostly, but if I have a page for example: shop.php?page=home&search=foo then the search=foo is ignored.
Can anyone please explain what is going on?