New/Edit alias
On this page, you are either creating a new document alias or editing an existing one. The following properties of the alias can be defined:
Path type |
You can choose several different URL types for the alias path. The selection made here determines how the value of the Path or pattern field will be processed. |
||||||
Path or pattern |
Enter a URL path for the document alias according to the selected Path type:
For MVC or Route patterns, it is always necessary to include the URL extension at the end of the path. If you leave the path without an extension, the document will automatically be available under an extensionless URL. |
||||||
Default controller (MVC only) |
The name of the controller containing the action which should be performed when the alias URL is accessed, without the Controller part at the end. E.g. if the controller class is called NewsMVCController, enter NewsMVC. The specified controller is first searched in the CMS.Controllers.<current site code name> namespace. If it is not found there, it is searched in the CMS.Controllers.Global namespace. |
||||||
Default action (MVC only) |
Specifies the action defined within the controller that should be performed when the alias URL is accessed. |
||||||
Culture |
The cultural version of the document that will be displayed when accessing the page through this URL. |
||||||
URL extensions |
Additional supported extensions of the URL. For these to work, you will have to configure the system as described in Configuration of custom URL extensions. This field is optional. |
||||||
Track campaign |
Visitors who access the document through this alias will be assigned to the selected web analytics Campaign and tracked accordingly.
For example, a special alias may be created for a document and its URL can then be used by links contained in marketing materials such as banners, e‑mails etc. This way, the system will monitor how many page views the website receives as a result of the campaign and track the activity of the visitors who arrive as a result.
The Select button allows you to choose from a list of existing campaign objects available for the website. Edit and New may be used to directly manage campaigns.
This field is optional. |
More resources can be found at Developer's Guide -> Development -> Page processing and URLs -> Multiple document aliases.