Thank you!. I placed the code I put in the file "/config/UrlRewriting.config" but I did not work and has launched a mistake, I'm using Umbraco version 4.7.1. Any other ideas?
Nope. The ~/config/Urlrewriting.config is for UrlRewriting.Net. The snippet I gave is for the IIS URL rewriting module. You need to install it if it's not installed already. The download link: http://www.iis.net/download/urlrewrite. And than put that <rewrite> section under the <system.webServer> one. Also after installing the URL Rewrite module you can use IIS manager to maintain the rules with GUI.
This code is the configuration for the Url Rewrite IIS module and should go into web.config (to inside <system.webServer> section). If everything after that is ok you will see this couple of rules (one inbound and one outbound) when you open the "Url Rewriting" settings in the IIS Manager (this setting editor window is in fact just GUI to this config section). You can also try just to add this rules from the GUI istead of putting them down into the web.config file manually.
Have you removed your old configuration (~/config/UrlRewriting.config)? You should've done this since the UrlRewriting.NET module is turned on by default as well.
How to change the friendly url, the extension ". aspx" and change it. ".html" or other extension?
Greetings!, In advance thanks to the Umbraco CMS community..
I tried changing the extension ".aspx" for. ".html", but do not know how.
I have changed:
and works very well, but I would like to know if you can put as ".html".
Thank you!
Hi. I would do it with URL rewriting.
Thank you very much!. I tried to modify the UrlRewriting.config file, but this does not work, and the part that should change is:
That's the change I want to get
Thank you very much!
I have hardly any expertise in UrlRewriting.NET that's shipped with Umbraco since I prefer IIS Url Rewriting module.
For IIS Url Rewriting module the configuration might look like this:
Thank you!. I placed the code I put in the file "/config/UrlRewriting.config" but I did not work and has launched a mistake, I'm using Umbraco version 4.7.1. Any other ideas?
Nope. The ~/config/Urlrewriting.config is for UrlRewriting.Net. The snippet I gave is for the IIS URL rewriting module. You need to install it if it's not installed already. The download link: http://www.iis.net/download/urlrewrite. And than put that <rewrite> section under the <system.webServer> one. Also after installing the URL Rewrite module you can use IIS manager to maintain the rules with GUI.
Thank you!. I installed UrlRewriting in IIS 7, Also do I have added a rule:
Where do I put this code? <rewrite>
This code is the configuration for the Url Rewrite IIS module and should go into web.config (to inside <system.webServer> section). If everything after that is ok you will see this couple of rules (one inbound and one outbound) when you open the "Url Rewriting" settings in the IIS Manager (this setting editor window is in fact just GUI to this config section). You can also try just to add this rules from the GUI istead of putting them down into the web.config file manually.
Thank you for helping me!. I think it will not be long for this to work, look at the pictures:
I feel I lack little to solve my problem. To what may be this error?
Woops. "rulename" -> "rule name" (with a space :-)
I'm sorry, the last error was showing syntax, see the pictures:
I feel I lack little to solve this problem. Thank you very much!
Here's exactly how I've configured in my config:
is working on a reply...