Custom page filtering examples
The following table provides examples of how to add pages to the Custom Error Page list.
Type |
Value |
Adds |
---|---|---|
URL |
/fileNotFound.aspx |
Specific file |
String |
"page not found" |
Any page with this string |
Regular Expression |
(?i)(URL|page) (.*) not found |
Any page with: "URL name not found", "url name not found", "Page page.ext not found", etc. |
Note: A regular expression (regexp) is a string that describes
a set of strings, according to certain syntax rules. The Expression
Test PowerTool (Tools > Expression Test) can
be useful to verify the syntax of your regexps.
If you need additional help writing regexps you may find the following link useful: http://www.regular-expressions.info/quickstart.html