Resolves an alias.
For a list of all members of this type, see AliasResolver Members.
System.Object
Sitecore.Data.AliasResolver
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
An Alias is a an alternate path for an item when browsing the web site. For instance the URL "/campaign" can be setup to point to "/sitecore/content/Home/Campaigns/2005/Super Offers". An item may have multiple aliases.
To see if an alias exists, use the Exists method. This will check if both the alias exists and the target item exists.
When it has been determined that the alias exists, the target item can be retrieved using the Item property.
The GetTargetID method returns the item ID of the target item, if alias and target item exists.
To get the URL of the target item, use the GetTargetURL method, which returns the friendly URL of the target item.
Namespace: Sitecore.Data
Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)
AliasResolver Members | Sitecore.Data Namespace