Can anyone tell me why this might not be working: RewriteEngine On RewriteRule ^index.php?keywords=([A-Za-z0-9-+"'() ]+)/?$ http://www.mysite.com/search/$1 [R] Code (markup): ?
Problem solved over on another forum. I wasn't aware that you couldn't use RewriteRules directly on query strings. Use a conditional fixes the problem!
He did. Only the requested file is matched to the pattern in a RewriteRule. To do a match on a query string (everything after after ?), you'd need to use RewriteCond %{QUERY_STRING} #pattern#