Configuration of custom URL extensions (.html or other) |
|||||
Configuration of custom URL extensions (.html or other) |
|
||
When you have performed the required configuration for your version of IIS, you can proceed with entering the actual extensions.
This can be done in Site Manager -> Settings -> URLs and SEO. For example, try to set the Friendly URL extensions value to .html and click Save.
Now when you go to the live website, you will see that all URLs in menus and listings are rendered with .html extensions. In some cases, you may need to update some static links which were created with the default .aspx extension.
You can enter multiple extensions into the Friendly URL Extension field mentioned above. The following format should be used:
.html;.htm;;.xxx;.abc
•The first extension is used as the default one and the links will be generated with it in the browser.
•Other extensions are entered divided by semicolons ( ; ). Pages can be accessed through URLs ending with all entered extensions.
•If you enter a semicolon without any extension in front of it, like in the middle of the sample entry above, extension-less URLs can be achieved.
The Redirect documents to main extension setting, which can also be found at Site Manager -> Settings -> URLs and SEO, causes URLs with non-default extensions to be redirected to corresponding URLs with the current default extension. This can be useful for SEO purposes. For example, if you want to change the extensions of your documents and want them to be used when the documents are accessed from a search engine that has your website indexed with the old extension.