[Plugin: Redirection] Bug in Regex found?
I have 2 rules
Redirection for rule 1 (no language tag = german text version)
Redirection for rule 2 (english language tag)
Requested URL is “domain.com/en/2009/04/30/my-old-postname”, so actually rule 2 should be initiated since the request does NOT match rule 1, but match rule 2.
However, the rediretion plugin redirects to the target of rule 1, which is the wrong target.
Any ideas why this is going wrong????
The closing “/?$” allows URLs with or without trailing slash, hence “/2009/04/30/my-old-postname/” and “/2009/04/30/my-old-postname” are matching. The ^ in the beginning marks the being of a string.
- The topic ‘[Plugin: Redirection] Bug in Regex found?’ is closed to new replies.