Identify old or legacy links
You might want to remove old links from your site after a redesign. The following Policy example searches for links that contain .php
Blaine Herman avatar
Written by Blaine Herman
Updated over a week ago

Type of policy: XPath

What it is used for: You can use the software to identify link that you might consider as being legacy links, if they contain a certain type of extension (eg .php or .aspx).

How to set it up:

  • Use XPath

  • Set policy to “Page does not contain" the XPath

  • Use the following:  

//a[contains(@href, ".php")

For information on how to create Policies, please see Policy Overview.

Did this answer your question?