When entering regular expressions, make sure that you enter the exclude expressions before the include expressions. The reason is that the RegexURLFilter plugin does the regex-pattern matching from top to bottom.

This means that if there is a match, then that match takes precedence. Therefore, if you have the include pattern first, then the exclude patterns following it would not take effect.

For example, assume that you have these two entries:

+^http://mysite.com/public
-^http://mysite.com/public/oldcontent

In this case, the oldcontent exclusion will never take effect because the public matching takes precedence.


Copyright © Legal Notices