URL format and configuration

Defining the extension of URLs

 
The URLs can use various extensions. By default, all URLs end with .aspx, such as: http://www.mydomain.com/products/kentico-cms.aspx.

 
You can also use custom extensions, such as .htm, .html or any custom extension. However, in this case, you need to configure the system as described in Configuration of custom URL extensions.

 

Alternatively, you can use URLs without extensions, such as http://www.mydomain.com/products/kentico-cms. In this case, you need to configure the system as described in Configuration of extension-less URLs.

 

 

Excluding URLs from the CMS engine
 

If you need to add your own pages to the web site, you may need to exclude them from CMS engine processing. You can do that by adding the page URL (without extension) to the Site Manager -> Settings -> URLs -> Excluded URLs value (you can enter several URLs separated with a semicolon (;)).

 

 

Forbidden URL characters

 

The URLs (alias paths and URL paths) cannot contain some special characters. By default, these are the forbidden characters:

 

\ / : * ? " " < > | & % . ' # [ ] and a space.

 

You can add additional forbidden characters by entering them (without any separator) into the Site Manager -> Settings -> URLs -> Forbidden URL Characters value.

 

The forbidden characters are removed by default. You can specify the character that will replace forbidden characters in the Site Manager -> Settings -> URLs -> Forbidden Characters Replacement value.

 

 

Using URL Prefix

 

If you need to add some prefix to all URLs (e.g. for search engine optimization), you can specify it in the Site Manager -> Settings -> URLs -> Default Url Path Prefix value.

The URLs will then look like this: http://www.mydomain.com/myprefix/products/kentico-cms.aspx.

 

 

Automatic creation of new document aliases

 

If you check the Site Manager -> Settings -> URLs -> Remeber original URLs when moving documents check-box, new document aliases will be automatically created when a new extension or URL path is set.