OK, I've managed to work this out now:
RewriteCond %{QUERY_STRING} ^artist_id=([0-9]+)$
RewriteRule ^/search_from_listings\.php$ http://localhost/?artist&id=%1 [L]
OK, this is getting really desperate.
Why does this match:
RewriteRule ^/search_from_listings.php?(.*)$ http://localhost/$1
while this doesn't:
RewriteRule ^/search_from_listings.php?artist_id=([0-9]*)$ http://localhost/?artist&id=$1
If anyone has absolutely any ideas at all please just tell me!
I'm just trying to provide some backwards compatibility to on old version of my PHP database.
I've got the following RewriteRule:
RewriteRule ^/search_from_listings\.php\?artist_id=([0-9]+)$ /?artist&id=$1 [R]
which I want to direct requests like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.