Error page filtering examples
The following table provides examples of how to add pages to the Error Pages list.
Type |
Location |
Value |
Adds |
---|---|---|---|
String |
Path |
/fileNotFound.aspx |
Specific file |
Response content | "page not found" | Any page with this string | |
Regular Expression |
Response content |
(?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 > Power 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