Creating a New Page Group
Project Administrators can select the Add Page Group button on the Page Groups page to create a new Page Group.
On the Create Page Group page, enter the following information:
- Group Name: Enter a descriptive name for the Page Group.
- Project Domain: This drop down menu contains all of the domains associated with the Project. Select one.
- Group Criteria: Enter a regular expression that determines whether a page is in the Page Group or not. (The regular expression will denote a piece of text that must be in the URL of the page for the page to be included in the Page Group.) You can add more than one expression by selecting the Add Another Expression button or remove an expression by selecting the Remove button next to an expression. Examples of commonly-used regular expressions are provided at the end of this page.
Select the Create button to create the new Page Group. Axe Monitor will validate the content of the regular expression string. If the regular expression is not valid, the following error message will appear: "Group criteria (Regular Expression) is invalid". Re-enter a valid regular expression and select Create again.
Regular expression examples:
- A Page Group containing the contents of a folder (for example, the contents of the "products" folder as in: www.abc-company.com/products/....): .*\/products\/.*
- A Page Group containing all instances of a particular file name regardless of the parameters that follow it (for example, .../cart.php?gid=1 and .../cart.php?gid=2, etc): .*\/cart\.php.*