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

using URIPrefix doest work for .html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      We have a (micro) site which is  accessible on www.magnolia-cms.com/dxp-benchmark

      We have site configuration for it:

      mappings:
        website:
          URIPrefix: /dxp-benchmark
          handlePrefix: /dxp-benchmark
          repository: website
      

      which works.

      Issue is when accessing page with .html - www.magnolia-cms.com/dxp-benchmark.html I got 404 error.  when trying to set virtual uri mapping redirect:

      class: info.magnolia.virtualuri.mapping.DefaultVirtualUriMapping
      fromUri: /dxp-benchmark.html
      toUri: redirect:/dxp-benchmark
      

      this redirect doesn't work, doesn't trigger.

      (when changing either fromUri or URIPrefix, so they are not same, redirect start working, so it seems like URIPrefix is preventing redirect with same fromUri)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tgregovsky Tomáš Gregovský
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD