Thursday, 28 June 2018

Sitecore Alias Item?

What is Alias Item in Sitecore?

Alternative name for any page item. Like for a site, user wanted to browse page as sample. And from sitecore CMS as a developer created sample alias which will linked to Home Item.

So when sample page will be browsed, it will open home item of site.

By default Alias item are for Single language. At the time of creating alias, put the language name in field Linked Language.


How to create Alias Item in Sitecore?

To create alias item, Go to Sitecore/System tree and under the alias folder will create alias items. Below is the screenshot for path.


sitecore-alias-item


Some time created alias are not working, in this case find below setting

<setting name="AliasesActive" value="true" />

How to Retrieve all created Alias items using DB query?

By default all the Alias items are stored in Items Table.

SELECT * FROM [dbo].[Items]