Kentico CMS 6.0 Context Help

Edit and new alias

Edit and new alias

Previous topic Next topic Mail us feedback on this topic!  

Edit and new alias

Previous topic Next topic JavaScript is required for the print function  

Domain alias

The domain alias of the site.

 

Example: If your website uses mycompany.com as its Main domain and you also wish to use the my-company.co.uk domain and have it access the same website, you need to add the my-company.co.uk alias to the list of domain aliases.

Default visitor culture

The website culture displayed to visitors coming to the website through a URL using this domain alias. If set to (Automatic), the user's browser settings will be used (in Internet Explorer, you can set the default language in Tools -> Internet Options -> Languages).

Default alias path

Default alias path for this domain alias, overrides the settings in Site Manager -> Settings ->  Content -> Default alias path.

Redirect URL

When accessing this Domain alias, users will be redirected to the entered URL. Both absolute and relative URLs are accepted. This field supports all macro expressions.

 

Example:

 

Imagine that the Main domain of your website is www.domain.com and you have domain.com defined as a Domain alias with the Redirect URL field set to:

 

{%protocol%}://www.domain.com{%relativepath%}

 

These macros can be used to dynamically redirect users to the correct page under a different domain.

 

{%relativepath%} - is resolved into the current relative URL path when the redirection takes place

 

{%protocol%} - is resolved into the current URL scheme name (protocol) when the redirection takes place

 

Now if a user accesses for example http://domain.com/example.aspx, they will be redirected to http://www.domain.com/example.aspx.