When you use URL Content Redirection group policy settings, you must specify which URLs to open on the client (Client Rules option) or in a remote desktop or published application (Agent Rules option).

URLs

You can enter URLs in Client Rules and Agent Rules. You can use wildcards (*) to specify a URL pattern that matches multiple URLs. You must add an escape character (\) before a period to specify a period in a rule entry. For example, if you specify ".*\.net", xxxx.net is redirected, but http://intranet is not redirected. You must add an escape character (\) before a bracket to specify a bracket in a rule entry. For example, if you specify "\[fc00:10:10:10::110\]", [fc00:10:10:10::110] is redirected, but [fc00:10:10:10::112] is not redirected.

The following table shows examples of rule entries that include URLs.

Rule Entry Description
.*

Specifies that all URLs are redirected.

If you use this setting for agent rules (Agent Rules option), all URLs are opened in the specified remote desktop or published application. If you use this setting for client rules (Client Rules option), all URLs are redirected to the client.

.*\.acme\.com;.*\.example\.com Specifies that all URLs that include the text .acme.com or .example.com are redirected. Use semicolons to separate multiple entries. Spaces are not allowed between entries.
.*\.acme\.com/software Specifies that all URLs that include the text .acme.com and the subdirectory /software are redirected. For example, http://www.acme.com/software is redirected. Also, http://www.acme.com/software/consumer is redirected.
[space or leave empty] Specifies that no URLs are redirected. For example, leaving the Client Rules option empty specifies that no URLs are redirected to the client.

Regular Expressions

You can enter regular expressions in Client Rules and Agent Rules. For syntax information, see Regular Expression Rules That URL Content Redirection Supports.

IP Address and IP Address Range Filtering

If you enable the Url Redirection IP Rules Enabled group policy setting, you can enter a specific IP address or IP address range in Client Rules and Agent Rules.

For example, if you enable Url Redirection IP Rules Enabled and enter ".*\.mycompany\.com;22.22.22.22;10.10.1.2-10.10.12.20", the following URLs and IP addresses are redirected.

  • All URLs that include .mycompany.com
  • IP address 22.22.22.22
  • All IP addresses in the range 10.10.1.2 through 10.10.12.20
  • All URLs that resolve into IP address 22.22.22.22
  • All URLs that resolve into the IP address range 10.10.1.2 through 10.10.12.20

If you enter both a URL and an IP address or IP address range, the URL rule has the higher priority. If the URL is matched, redirection occurs directly by using the URL. If the URL is not matched, Horizon performs a DNS query and then does the IP address or IP address range filtering.

This feature is supported only with Internet Explorer/Microsoft Edge (Chromium-IE-Mode) and IPv4. It is disabled by default.