Constructs an URL action for the specified site, locale and hostname.
The hostname must be defined in the site alias settings. If no hostname is provided, the HTTP/HTTPS
host defined in the site alias settings will be used. If no HTTP/HTTPS host is defined in the site alias
settings, the hostname of the current request is used.
Parameters:
action
-
the target pipeline/controller, e.g.: 'Default-Start'
siteName
-
the target site, e.g. 'SampleSite'
locale
-
the target locale, e.g. 'default'
hostName
-
the host name, e.g. ‘www.shop.com'