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
Hi,
whenever I use NiceUrl(..) it will create me URLs ending with .ASPX.
e.g. http://localhost/blog.aspx.
When I change the URL manually in the browser to http://localhost/blog/ this will work (because of the default URL rewriting).
Now what I want is NiceUrl returning http://localhost/blog/ for the content node instead of the .aspx ending one..
Can this somehow be configured?
br,mike.
Mike,
See http://our.umbraco.org/wiki/install-and-setup/setting-up-umbraco-for-friendly-urls
Regards
Ismail
In umbracosettings.config, change
<umbracoUseDirectoryUrls>false</umbracoUseDirectoryUrls>
To be true, then republish the entire site. You may need to set up wildcard mapping in IIS too though?
Dan
You probably will need to set up the wildcard mapping in IIS as well.
This is a very nice way (imho) of doing it
http://www.farmcode.org/post/2009/12/08/Wildcard-mapping-in-IIS-7-classic-pipeline-3d-webconfig!.aspx
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
NiceUrl withouth .apx
Hi,
whenever I use NiceUrl(..) it will create me URLs ending with .ASPX.
e.g. http://localhost/blog.aspx.
When I change the URL manually in the browser to http://localhost/blog/ this will work (because of the default URL rewriting).
Now what I want is NiceUrl returning http://localhost/blog/ for the content node instead of the .aspx ending one..
Can this somehow be configured?
br,
mike.
Mike,
See http://our.umbraco.org/wiki/install-and-setup/setting-up-umbraco-for-friendly-urls
Regards
Ismail
In umbracosettings.config, change
To be true, then republish the entire site. You may need to set up wildcard mapping in IIS too though?
Dan
You probably will need to set up the wildcard mapping in IIS as well.
This is a very nice way (imho) of doing it
http://www.farmcode.org/post/2009/12/08/Wildcard-mapping-in-IIS-7-classic-pipeline-3d-webconfig!.aspx
is working on a reply...