URL Suffixes

Set up page to use a custom suffix or no suffix at all

In C1 CMS, URLs to web pages follow this model:

http[s]://<hostname>[/<language code>]/<path to a page><url suffix>

where:

  • <hostname> stands for a hostname, e.g. “www.contoso.com”
  • <language code> stands for the language code of the localized version of the website, e.g. “da-dk” (which can is normally omitted for the website in the default language)
  • <path to a page> stands for a path to a specific page and is built by appending the "UrlTitle" fields of pages and their ancestors, e.g. products/ipad2/features
  • <url suffix> stands for a page suffix if used, e.g. “.aspx”

For example: http://www.contoso.com/da-dk/products/ipad2/features.aspx

With the URL Configuration tool, you can configure:

  • whether to append any extension to the page title (“URL suffix”)
  • and if so, what extension to append

For example, you can choose to append:

  • no extension at all (http://www.contoso.com/da-dk/products/ipad2/features)
  • ‘.aspx’ as the extension (http://www.contoso.com/da-dk/products/ipad2/features.aspx)
  • or any other appropriate extension (‘.html’) (http://www.contoso.com/da-dk/products/ipad2/features.html)

To configure the URL suffix:

  1. In the System perspective, select URL Configuration and click Edit URL Configuration.
  2. In the window that opens, specify the extension you want appended to web page URLs in the Page URL Suffix field. Start the value with the period (‘.’). (Leave the field blank if you intend no extension appended.)
  3. Save the changes.

By default the system checks whether the website is running in Integrated mode, and if so, the Page URL Suffix will be set to an empty value; otherwise, ‘aspx’.

Note: The IIS7 Integrated mode is required for proper work of URL suffixes other than ‘.aspx’.