Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-173

Multisite - case insestitive URLs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Hello,

      On the Corporate website (Magnolia Websites, Corporate project), we use a Multisite module and support four languages (English - default, German, Spanish and Chinese) our locales definition in the multisite module decoration file looks like this: 

      locales:
        en:
          enabled: true
          language: en
        de:
          enabled: true
          country: DE
          language: de
        es:
          enabled: true
          country: ES
          language: es
        zh:     
          enabled: true
          country: CN
          language: zh

      Based on this definition, the links e.g. for DE language have this pattern:

      https://www.magnolia-cms.com/de_DE/

      If a user tries to access the same URL, but with a lowercase language part of the URL (/de_de instead of /de_DE), it throws HTTP 404 Page not found error.

      https://www.magnolia-cms.com/de_de/

      I would like to ask if it would be possible to make the language part of the URL case insensitive so that both versions of the URL work.

      Original ticket: WEBSITE-2947

      Thanks a lot,
      Krystof

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              kraiskub Krystof Raiskub
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD