With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
This article provides instructions on how to set up policies for links. For full instructions on how to build a custom policy, visit Create a custom policy.
This section provides instructions on how to set up policies to find specific links. These are located in the href="" section of the anchor tags on the domain.
To create this policy:
Enter the following in the Query field and replace the word SEARCH with what you want to find inside the link portion:
href=("|').*SEARCH.*("|')For example:
href=("|').*foo.*("|')The query matches:
<a href="http://test.com/foo">here</a>
<a href="http://foo.com/test">click</a>
<a href="http://test.foo/test">click here</a>However, it does not match:
<a href="http://test.com/test">foo</a>If the policy you need is difficult to create, contact Support for assistance.
Regex: Use regular expressions to define what you want to search.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.