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

using URIPrefix doest work for .html

XMLWordPrintable

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

      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)

        Acceptance criteria

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

                Created:
                Updated:

                  Bug DoR
                  Task DoD