URLs

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

Document alias

The unique name of the document in the given section of the website. This name doesn't change when you modify the document name and it's used:

1.To define the AliasPath, which is the unique path to the document. The developers typically use the AliasPath in the Path property of the web parts and controls.

 

2.For the URL of the document. The URL of the document is like
www.kentico.com/products/cms.aspx
where /products/cms is the alias path of the document.

 

Forbidden characters

 

Some characters are forbidden in URLs and thus they are replaced with a safe character (by default, it's dash -). You can specify the forbidden characters and the replacement character in Site Manager -> Settings -> URLs, in values of the "Forbidden characters replacement" and "Forbidden URL characters" properties.

Document URL path

If you want to use a specific URL for a given document that doesn't depend on the document AliasPath, you need to check the box Use custom URL path and enter the value, such as:

/cms-for-asp-net

The URL path must always start with /. Then, the document is accessible through two URLs:

www.kentico.com/products/cms.aspx

www.kentico.com/cms-for-asp-net.aspx

 

The URL path is useful if you need to define a short URL of some page or if you need to optimize the URL for search engines.

 

The URL path is, unlike the alias path, culture-specific. It means if you use URL paths:

/product (for English version)

/produkt (for German version)

 

then when the user comes to /produkt.aspx, the language of the website is automatically switched to German.
 
The URL path may contain wildcard URLs. Wildcards use the following format: {wildcard}, where wildcard is the name of the wildcard. Learn more at Wildcard URLs.

URL extensions

Default URL extensions are defined in Site Manager -> Settings -> URLs -> Friendly URL extensions. If you check the Use custom URL extensions check box, you can define other extensions under which the document can be accessed.

 

In case that the option is disabled, physical file extensions can also be used for cms.file documents.

 

Multiple extensions can be entered divided by a semicolon. If you enter a semicolon without any extension, extensionless URLs will be allowed.

 

Example: entering '.htm;;' for a document with URL path set to '/test' will cause that both <site path>/test.htm and <site path>/test will lead to the same page.

 

For this to work, you also need to to set up your IIS for handling the 404 and 405 errors the same way as described here.

Track campaign

A web analytics campaign with the same name as entered here will be created on the first access to the page through the entered URL.

Document aliases

This section displays a list of other document aliases that the document can be accessed under. One document can have an unlimited number of aliases. You can edit (Edit) and delete (Delete) aliases in the list or create a new alias using the 'Add new alias' link.
 
If the Remember original URLs when moving documents setting is enabled in Site Manager -> Settings -> URLS and SEO, new document aliases containing the original URL properties will automatically be created whenever the Document URL path or URL extensions properties are changed.

Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?doc_urls.htm