URL contains /index/

Find URLs within content that contains a certain kind of syntax

Updated over a week ago

Type of policy: XPath

What it is used for: Identify URLs listed within your content that contain a certain syntax. Note that this example is searching for /index/. This can be modified to search for whatever you'd like to search for within a URL.

How to set it up:

  • Use XPath

  • Set policy to “Flag pages that contain the XPath"

  • Use the following:  

//a[contains(@href, "/index/")]

For information on how to create Policies, please see Policy (Custom Checks) Overview.

Did this answer your question?