If you already have checked the above documentation I'm sure this is a bug that needs to be reported and of course fixed. Feel free to report it on http://issues.umbraco.org/dashboard if it has not already been reported.
As you can read in the config file, most of these settings have been moved to defaults so they are not shown in the actual config file any more but you can add them back if you really want to use them.
Ok, almost everything worked after an republish, but I changed <char org=" ">_</char>, still writes as "-" in the URL. I'm working with an migration of an old OpenCMS site, so I need the same URL's with Umbraco, but i can solve this with IIS url rewrite.
That can perhaps be an error due to the configuration XML not being well-formed if you missed a sign somewhere perhaps? But as Sebastiaan says it's a lot easier to help you if we know what the error says :)
Appreciate any help. I need to get this working as I have to ensure that no apostrophes are included in URLs, as they play havoc with an app that uses content published by the website.
Sorry, think I may be at fault here. When I tried again, replacing å (instead of 'a') with 'z' the error went, and it worked.
One thing I'm not sure about, though, is which characters I need to add and which are already handled by the system? I guess I could use trial and error…
urlReplacing and Umbraco 7
The urlReplacing section of umbracoSettings.config is removed in Umbraco 7, and it doesn't seem to
work if i add it.
Need to change chars in the URL.
/Jonas
Hi Jonas
Hmm yeah, that's seem a bit weird. But seems that a lot of the default settings have just been omitted fromt the initial configuration file. There is a comment in the top of the file stating that settings can be added when needed according to the documentation found here: http://our.umbraco.org/documentation/using-umbraco/config-files/umbracosettings/ and in your case it sounds like it's this part that is of interest to you http://our.umbraco.org/documentation/using-umbraco/config-files/umbracosettings/#RequestHandler
Perhaps the syntax was wrong before?
If you already have checked the above documentation I'm sure this is a bug that needs to be reported and of course fixed. Feel free to report it on http://issues.umbraco.org/dashboard if it has not already been reported.
Cheers,
Jan
As you can read in the config file, most of these settings have been moved to defaults so they are not shown in the actual config file any more but you can add them back if you really want to use them.
All of the available settings are documented here.
Ok, almost everything worked after an republish, but I changed <char org=" ">_</char>, still writes as "-" in the URL.
I'm working with an migration of an old OpenCMS site, so I need the same URL's with Umbraco, but i can solve this with IIS url rewrite.
Hi Jonas
Did you touch the web.config or recycle the app pool after you made the change? If not please do.
Btw looking at what you write above it seems that the "-" is missing in <char org="-">_</char> ?
/Jan
I added the urlReplacing and all of the char tags to the umbracoSettings file but when I do that I get a server error.
Doesn't this work in all vresions of umbraco7?
/Paul
What's the error?
Hi Paul
That can perhaps be an error due to the configuration XML not being well-formed if you missed a sign somewhere perhaps? But as Sebastiaan says it's a lot easier to help you if we know what the error says :)
/Jan
I get this error: "Invalid character in the given encoding. Line 80, position 18".
It looks like an encoding problem.
The problem starts with the "æ".
changed the utf-8 to iso-8859-1 and now it seems to be working again.
/Paul
Hi Paul
Yes encoding can sometimes play a trick on you. However you should be able to write æ instead of æ and then it should work when using utf8 encoding.
/Jan
This doesn't work at all in the version of U7 I'm working with – a freshly installed 7.1.4, via WPI.
I added in a very simple urlReplacing entry:
Then I touched web.config, then I republished entire site. Now, when I try to create a page I get…
/umbraco/backoffice/UmbracoApi/Content/GetEmpty
Appreciate any help. I need to get this working as I have to ensure that no apostrophes are included in URLs, as they play havoc with an app that uses content published by the website.
Sorry, think I may be at fault here. When I tried again, replacing å (instead of 'a') with 'z' the error went, and it worked.
One thing I'm not sure about, though, is which characters I need to add and which are already handled by the system? I guess I could use trial and error…
is working on a reply...