I've an problem during my RedirectMatch 301 rule.
I wish to redirect all web addresses like theses:
http://www.toto.com/lang/fr/tutu/salut-les-gens http://www.toto.com/lang/fr/tutu/trop-bien http://www.toto.com/lang/fr/tutu/gg-a-toi
http://www.toto.com/blog/tutu/salut-les-gens http://www.toto.com/blog/tutu/trop-bien http://www.toto.com/blog/tutu/gg-a-toi
I've set this rules:
RedirectMatch 301 ^/lang/fr/tutu/.* /blog/tutu/$1
You'll need parenthesis to capture a content and reuse it inside a variable. And you ought to try your rules with 302 codes, and never 301. To ensure that if one makes any mistake you don't have to shut your browser to re-test the brand new rule (with 301 the browser isn't asking for any longer the net server following the first answer).
RedirectMatch 302 ^/lang/fr/tutu/(.*) /blog/tutu/$1
And appearance your % accept rate in Stack Overflow. 11 questions and you've got never recognized one answer...