Sitecore 5.0 API

Settings.AliasesActive Property

Indicates if aliases are active.

[Visual Basic]
Public Shared ReadOnly Property AliasesActive As Boolean
[C#]
public static bool AliasesActive {get;}

Property Value

True, if aliases are active, otherwise false. Default value: true.

Remarks

When Sitecore renders a page, it first tries to determine the current item from the path on the query string. If the path does not match an item, it search the alias list for matching pages. An alias is a simple pointer to an item in Sitecore. If a match is found, that page is rendered.

Aliases are configured in /sitecore/system/aliases.

Aliases cause a small performance loss as the alias list has to be searched, if the page was not found.

This setting controls if the alias lias search or not.

The name of the web.config setting is "AliasesActive".

See Also

Settings Class | Sitecore.Configuration Namespace