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

404 page doesn't send back 404 HTTP status code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1 Final
    • 2.01
    • core
    • None
    • any

    Description

      If magnolia is asked to serve a page, which doesn't exist, it returns the configured 404 page instead ("Server"/"ResourceNotAvailableURI"). It doesn't sent back a 404 HTTP status code, however. The result of this is that e.g. search engines cache the page as regular page since there is it is an error page.

      This is particular nasty if you relaunch a website and have to deal with old URLs you'd like to just eventually disappear from everybodys bookmarks and all engines.

      Checklists

        Acceptance criteria

        Attachments

          1. MAGNOLIA-389.patch
            8 kB
          2. MAGNOLIA-389.patch
            5 kB
          3. MAGNOLIA-389.png
            MAGNOLIA-389.png
            12 kB
          4. MAGNOLIA-389-rev1093.patch
            9 kB

          Activity

            People

              scharles Sameer Charles
              weder Andreas Weder
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD