My urls are rewritten from this: mydomain.com/page1.aspx to mydomain.com/page1/ This is almost what i want, however I would like it to exclude the last trailing slash from the url, so the url would look like this: mydomain.com/page1
I have actually never been aware of the addTrailingSlash in the umbracoSettings.config-file before, and I think it's a new feature in v4.6. But it's a cool feature I think. Can be usefull in some situations.
I actually don't think that the stuff Thor experienced was a bug. It was just a matter of a setting. Of course I don't know for sure, but it's just a guess.
But the other bug will be nice to get fixed in v4.6.2 anyway :)
umbracoUseDirectoryUrls in 4.6.1
Hi,
I have a question regarding umbracoUseDirectoryUrls in 4.6.1.
When i set the attribute to true instead of false like this:
My urls are rewritten from this: mydomain.com/page1.aspx to mydomain.com/page1/
This is almost what i want, however I would like it to exclude the last trailing slash from the url, so the url would look like this: mydomain.com/page1
Is this possible?
/Thor
Hi Thor.
I think you can change this in the umbracoSettings.config-file.
Find this line:
and change it to this:
/Kim A
Hi Kim,
Thanks a lot! That worked like a charm :-)
/Thor
Great!
I have actually never been aware of the addTrailingSlash in the umbracoSettings.config-file before, and I think it's a new feature in v4.6. But it's a cool feature I think. Can be usefull in some situations.
/Kim A
Hi Kim & Thor,
Looks like it will be fixed in 4.6.2 http://our.umbraco.org/forum/core/general/16340-umbracoUseDirectoryUrls-addTrailingSlash
//Anders
Hi there Anders
I actually don't think that the stuff Thor experienced was a bug. It was just a matter of a setting. Of course I don't know for sure, but it's just a guess.
But the other bug will be nice to get fixed in v4.6.2 anyway :)
/Kim A
is working on a reply...