|
Configuration of custom URL extensions (.html or other) |
|
This chapter describes how to configure the system for using custom URL extensions, such as http://www.mydomain.com/products/kenticocms.html instead of default http://www.mydomain.com/products/kenticocms.aspx
Prerequisites
You can use this configuration on Windows XP, Windows 2000 and Windows Server 2003 with Internet Information Services (IIS) installed. It's not possible to use it with Visual Studio 2005 built-in web server.
Configuration
Go to Start -> Control Panel -> Administrative Tools and launch the Internet Information Services (IIS) Manager. Locate the appropriate web site and virtual directory (if you installed Kentico CMS into the root, you will make this change on the web site level only).
Right-click the directory (or web site) and choose Properties and then click the Configuration button:
Click Add and enter the following values:
The dialog will look like this:
Click OK on this dialog and on all underlying dialogs.
Go to Site Manager -> Settings -> select Global or particular web site -> URLs -> set Friendly URL Extension value to .html and click Save.
Now when you go to the live web site, you will see that all URLs in menus and listings are rendered with .html extension. You may, however, need to update some static links that were created with default .aspx extension. |