Forum Moderators: phranque
RewriteRule ^http://www.mysite.com/directory/(.*).htm [mysite.com...] [R=301,L]
Would it be better to use some form of wildcard symbol for the word "directory" and use only one line?
RewriteRule ^([^/]+)/[^.]+\.htm http://www.example.com/$1/newpage.htm [R=301,L]
RewriteRule ^(dir1¦dir_two¦direct3)/[^.]+\.htm http://www.example.com/$1/newpage.htm [R=301,L]
Also end-anchor the ".htm" with a "$" if possible.
Jim