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
Well I active the paragraph <add activated key="umbracoUseDirectoryUrls" value="true" />, but there is a small niggle, for example
This works very well:
myweb.uk / home
But when I put this:
myweb.uk / home /
I get an error "not found".
How do you set up a friendly url rule, to accept the slash "/" at the end?
hi umbracocool,
no needto set up a friendly url rule, just change this settings in /config/umbracoSettings.config
<addTrailingSlash>true</addTrailingSlash>
Cheers,
/Dirk
You might have to restart your website before this works, but Dirks solution is all you need to do :).
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Friendly url set to accept trailing slash.
Hello friends. Thank you very much to the community around umbraco.
Well I active the paragraph <add activated key="umbracoUseDirectoryUrls" value="true" />, but there is a small niggle, for example
This works very well:
myweb.uk / home
But when I put this:
myweb.uk / home /
I get an error "not found".
How do you set up a friendly url rule, to accept the slash "/" at the end?
Thank you very much!
hi umbracocool,
no needto set up a friendly url rule, just change this settings in /config/umbracoSettings.config
Cheers,
/Dirk
You might have to restart your website before this works, but Dirks solution is all you need to do :).
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.