Kentico CMS 7.0 Developer's Guide

Overview

Overview

Previous topic Next topic Mail us feedback on this topic!  

Overview

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

This chapter describes how to configure the system for using custom URL extensions and extension-less URLs. Custom URL extensions let you have the extensions rendered with a different extension than the default .aspx, like .html, .php, .xxx or any other.

 

So for example, instead of the default http://www.example.com/news.aspx, you can have URLs ending with .html:

 

http://www.example.com/news.html

 

devguide_clip0200

 

you can also configure an empty extension, which results in an extension-less URL:

 

http://www.example.com/news

 

devguide_clip1024

 

To achieve this result you have to take the following two steps:

 

1. Adjust your web.config or IIS to handle the custom extensions. This step is different for IIS 7 or higher and IIS 6.

2. Configure custom URL extensions in Kentico CMS. It is described in this chapter.