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
I have discovered that if I change the way umbraco replaces characters in the urls by adding this in the umbracoSettings-file.
<char org="å">a</char> //default is "ae"
<char org="ä">a</char> //default is "ae"
<char org="ö">o</char> //default is "oe"
The urls get updated (on publish) as expected, but the URL Redirect Management does not pick up on the changes so the old url (with the default behavior) get broken.
What approach can I take to make urls affected by this change redirect to the new one?
The redirect management system creates rules when a content item is published and its url changes. Changes to the url replacing setup in the config file are not picked indeed, meaning rules are not created.
However, republishing all content after having changed the config should cause the redirect management to create the appropriate rules.
Great. I'll give it a shot next week. Thx.
Tried this a bit more, and I can't really get it to behave the way I expect.
I have a page called "Systemunderhåll" with current url "/systemunderhaal". If i add the urlReplacing entry so å -> a, and do a "republish all", the same old urls are still there (obviously no new URLs are picked up by the Url Managment).
If I save and publish the Systemunderhåll-node explicitly (without making changes), the page url is updated, but no redirect rules are added.
So it appears I can't use this urlReplacing-feature in a reliable way if there already is nodes/urls with the unwanted urls`, and get proper redirecting.
Is there any other way I can get this to work or should i file an issue on this?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted