I'm trying to modify the following rewrite conditions so that only strings that begin with the number 4 are redirected to the process.php page as a variable:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ /process.php?variable=$1 [L]
So the following
http://www.domain.com/4shopping
will be mapped to
http://www.domain.com/process.php?variable=4shopping
But the following will not
http://www.domain.com/shopping
The reason for this is that /shopping is just a normal page (served by Wordpress), but /4shopping is a code that should map on to the /process.php as a variable.