But on some of our Umbraco Cloud projects I don't have this entry in umbracoSettings.config .. not sure it happens only, when installing Umbraco via NuGet?
However I have noticed replacing of characters not are consistent, where æ, ø and å characters where replaced, but not Æ, Ø and Å.
In one of our projects a have the following in /Config/umbraoSettings.config:
<requestHandler>
<!-- this will ensure that urls are unique when running with multiple root nodes -->
<useDomainPrefixes>false</useDomainPrefixes>
<!-- this will add a trailing slash (/) to urls when in directory url mode -->
<addTrailingSlash>false</addTrailingSlash>
<urlReplacing removeDoubleDashes="false" toAscii="false">
<char org="Æ">ae</char>
<char org="Ø">oe</char>
<char org="Å">aa</char>
<char org="æ">ae</char>
<char org="ø">oe</char>
<char org="å">aa</char>
<char org="é">e</char>
</urlReplacing>
</requestHandler>
Special characters in Umbraco 7 url
Hi Guys,
I ye olde times we could change which special characters should be changed when Umbraco creates url's. We could do that in the umbracoSettings.config file as explained many places including here: https://our.umbraco.org/forum/using/ui-questions/3356-Rewriting-characters-in-URL
How do we do that in Umbraco 7? I can't find the functionality. Am I blind or have it been removed?
How would I do it?
/Rune
Hi Rune,
I believe Umbraco does this automatically for you now, so you don't have to worry about it.
Regards
Craig
I thought as much. I just have a customer asking if we can change e.g. é to e. It dosn't look like it I guess
Hi Rune
I have also noticed that the UrlReplacing has been removed or changed although it seems it should add the basic stuff: https://github.com/umbraco/Umbraco-CMS/search?utf8=%E2%9C%93&q=urlReplacing
But on some of our Umbraco Cloud projects I don't have this entry in umbracoSettings.config .. not sure it happens only, when installing Umbraco via NuGet?
However I have noticed replacing of characters not are consistent, where
æ
,ø
andå
characters where replaced, but notÆ
,Ø
andÅ
.In one of our projects a have the following in /Config/umbraoSettings.config:
/Bjarne
is working on a reply...