Forum Moderators: phranque
the problem is you only want to use the start anchor once in the regular expression and you inserted a 2nd "start anchor" within the regular expression after the fictitious "<>" string.
#RewriteCond %{REQUEST_URI}<>%{QUERY_STRING} ^show=([0-9]+)<>^/dir/([A-Za-z0-9-_]+)/
#RewriteRule ^(.*)$ http://www.example.com/dir/$1/?v2Show=$2 [QSA,R=301]
Can either of youse get jdmorgan's code to work?
RewriteCond %{REQUEST_URI}<>%{QUERY_STRING} ^/dir/([A-Za-z0-9-_]+)/<>show=([0-9]+)
RewriteRule ^(.*)$ http://www.example.com/%1/?v2Show=%2 [R=301,L]
What Apache version are you on?