Noooo.. %0 is for the whole RewriteCond str, not %1 !

Topics: Rules
Aug 5, 2013 at 5:14 PM
Edited Aug 5, 2013 at 5:20 PM
As I use v3.6 and going round in circles with MFRW doing CRAZY things and writing all sorts of unexpected stuff into my URLs, it's become apparent that:

RewriteCond blahyada ^blah(.*)$

your %1 contains "blahyada" and %2 contains "yada"


%1 is supposed to contain "yada", %2 doesn't exist. The entire pattern is %0

please minus 1 off all your %backreferences (your %1 should be %0 !)