Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2384

display pages only with defined extensions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • 4.0
    • 3.6.1
    • templating
    • None

    Description

      The default jsp template is actually mapped to any extension. You can call a page for example using:
      page.html
      page.htm
      page.xyz
      with the same result.

      This is usually not good for SEO, and we should allow an option to serve pages using only the default extension, so that:
      page.html -> OK
      page.xyz -> 404

      this could be a done with a simple flag on the template renderer itself, but first we should make templateRenderers configurable

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                fgiust Fabrizio Giustina
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD