Umbraco node url format (slash to dash)

Hi,

I recently upgrade an Umbraco 7 site to Umbraco 10. I now find that the Url link format for some nodes has changed. Nodes that previously had a slash as part of their node name would have a dash in the Url link. In Umbraco 10 this has now changed and the dash was removed. E.g.:

Umbraco 7 behaviour:
Orchestra/Band Conductor
→ /orchestra-band-conductor/

Umbraco 10 behaviour:
Orchestra/Band Conductor
→ /orchestraband-conductor/

Does anybody know if the node Url link format behaviour can be customized via an extension method maybe or a setting somewhere?

Thanks,
Hannes


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/112196-umbraco-node-url-format-slash-to-dash

Old topic, but anyone who still has yet to upgrade from an old version.

Quick fix:

set RequestHandler.EnableDefaultCharReplacements to false

Otherwise

customise RequestHandler.UserDefinedCharCollection

See: Request handler settings