Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Markus Rytterkull 25 posts 116 karma points
    Oct 12, 2022 @ 07:48
    Markus Rytterkull
    0

    Page urls renamed after upgrading from 8.16 to 9.5

    Hi,

    noticed when upgrading that page-urls containing non-web-friendly characters have changed for existing pages. I am not suprised that url-generation for new pages are changed, but cannot really see why existing page-urls are updated by a upgrade.

    For instance, Page: /Sök (search page in swedish) Url i v 8: /sok Url after upgrade to v9.5.2: /soek

    After noticing this on my own machine I added RequestHandler settings to appsettings.json before upgrading our test site:

      "RequestHandler": {
        "AddTrailingSlash": true,
        "ConvertUrlsToAscii": "try",
        "CharCollection": [
          {
            "Char": "ö",
            "Replacement": "o"
          },...
    

    But it did not make any difference.

    So far we have only upgraded their testsite so if there is a workaround, I am all ears.

    Cheers, Markus

  • Markus Rytterkull 25 posts 116 karma points
    Oct 12, 2022 @ 15:59
    Markus Rytterkull
    0

    My fault - the ReuqestHandler config section was in the wrong place. Put it where it should be and now new urls are generated the way we want.

    I believe this will fix the upgrade problem as well with existing urls, but have to try that on a fresh database.

Please Sign in or register to post replies

Write your reply to:

Draft