How to customize alias path and language parameters

   —   
This article describes how to customize alias path and language parameters using keys in web.config file.
For this purpose, you can use following keys in web.config file:

CMSAliasPathParameterName
CMSLanguageParameterName


CMSAliasPathParameterName key specifies the name of the aliaspath query parameter and possible value is e.g. "pathalias."

CMSLanguageParameterName specifies the name of the lang query parameter and possible value is e.g. "language."

So, for example, you have e.g. domain/xxx.aspx?lang=en-us you can change "lang" name using this parameter, so it can be e.g. domain/xxx.aspx?language=en-us.

The same can be done for alias path property.


See also: Web.config parameters

Applies to: Kentico CMS 4.x
Share this article on   LinkedIn

Juraj Ondrus

Hi, I am the Technical support leader at Kentico. I'm here to help you use Kentico and get as much as possible out of it.