helenp - 1:19 pm on Apr 8, 2013 (gmt 0) [edited by: coopster at 11:04 pm (utc) on Apr 8, 2013]
Doing more tests,
and the problem with the rules that worked, (the long several line ones) was that it worked with one rule but not with more than one.
so then I started with the shortened rule
and this works perfect:
RewriteRule ^(name_[0-9]+)\.htm http://www.example.com/reviews/$1.htm [R=301,L]
Then I tried to add a second rule right after the first like so:
RewriteRule ^(spanish/name_[0-9]+)\.htm http://www.example.com/spanish/opiniones/$1.htm [R=301,L]
And then the first stopped to work, and the second is not ok as I got this url:
So I get I must exclude the foldername spanish in the new url.
[edit reason] example.com was misspelled; fixed it [/edit]
[edited by: coopster at 11:04 pm (utc) on Apr 8, 2013]