Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have successfully upgraded my website from Umbraco 4.7 to Umbraco 6.
But apparently all my URLs are still the same, they're all with .aspxIs there any guide on how I can convert it to MVC?
I just want the pretty URL, such as /About instead of /about.aspx
Hi Hardi,
I donĀ“t know if this can helps you, but I hope so.
http://alanfeekery.com/2011/02/24/clean-urls-in-umbraco/
/Dennis
You need to set the appSetting umbracoUseDirectoryUrls to true in the web.config
Dave
Perfect! Thanks Dennis and Dawoe!
One more question, is there a way to make it omit the trailing slash?ie. /about instead of /about/
I found it!!!
in config/umbracoSettings.config
<addTrailingSlash>false</addTrailingSlash>
Wow this makes Umbraco so much better!!! I wonder why it's not enabled by default...
Now, does anyone know how to convert the website to MVC?
There is also a setting in the umbracoSettings.config file for that :
<defaultRenderingEngine>Mvc</defaultRenderingEngine>
All your .net master page templates will keep working if you change this, but if you use the backend to create a new template this will be a MVC view
Oh that is so cool! Thanks Dawoe!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Upgrading Umbraco 4.7 to MVC?
I have successfully upgraded my website from Umbraco 4.7 to Umbraco 6.
But apparently all my URLs are still the same, they're all with .aspx
Is there any guide on how I can convert it to MVC?
I just want the pretty URL, such as /About instead of /about.aspx
Hi Hardi,
I donĀ“t know if this can helps you, but I hope so.
http://alanfeekery.com/2011/02/24/clean-urls-in-umbraco/
/Dennis
You need to set the appSetting umbracoUseDirectoryUrls to true in the web.config
Dave
Perfect! Thanks Dennis and Dawoe!
One more question, is there a way to make it omit the trailing slash?
ie. /about instead of /about/
I found it!!!
in config/umbracoSettings.config
Wow this makes Umbraco so much better!!! I wonder why it's not enabled by default...
Now, does anyone know how to convert the website to MVC?
There is also a setting in the umbracoSettings.config file for that :
<defaultRenderingEngine>Mvc</defaultRenderingEngine>
All your .net master page templates will keep working if you change this, but if you use the backend to create a new template this will be a MVC view
Oh that is so cool! Thanks Dawoe!
is working on a reply...