- SmartHelp URL Rules
- SmartHelp URL Rules
- "ed082076-6025-462e-8ea7-7d813c87f63a
- SmartHelp URL Rules allow you to define if this source is applicable for a specific page or pages. A URL matches the rule if there is at least one pattern which is matching and the last matching pattern in the list was "allow". Rules are evaluated in the order of definition. It is a good idea to define the more general patterns first, followed by the more specific patterns. You can also specify negative rules to indicate that the source is not available for the page or pages. The URLs that begin with "-" are excluded.
- Some things to know as you are defining rules:
- The URL pattern is case-insensitive.
- The rules support the asterisk (*) wildcard, which matches an arbitrary number of characters. A trailing asterisk is always appended to the pattern by default if not present (that is we match the URL prefix).
- Specifying the protocol in the URL is optional. The protocol (http/https) can be anything if not explicitly set.
- It is recommended but not required that the URL pattern specifies at least the host or domain name.
- Examples of patterns for rules
- :
- http://*.sampledomain.com/* - any hosts in the domain
- Negative rules
- can be useful when the rules are setup generally to include more URLs, and then you want to exclude specific URLs.
- Example:
- You need to specify only these two rules instead of specifying the individual instances, such as:
- host/app_two