• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.532.1

      Feature Request:

      Please add better 404 pages.

      Motivation:

      The default winstone 404 page is very ugly and unhelpful. Even if you use a different app server, the 404 pages are usually not pretty.

      In addition, if you proxy via apache or nginx you cannot override the 404s because there are pages that return 404 (such as the search results page) that would be disabled.

      Suggestion:

      Include a page that says something like:

      <if security is disabled>
        The page you're looking for doesn't exist.
      <else security is enabled>
        The page you're looking for either doesn't exist or is not available to you.
        <if not logged in>
          Try logging in and see if that helps.
        </endif>
      </endif>
      
      You can try searching for the page you're looking for:        
      
      _______________
      
      

          [JENKINS-21813] Provide better 404 pages

          Maciej Jaros added a comment - - edited

          I think this part should be in bold or enlarged:

          <if not logged in>
          Try logging in and see if that helps.
          </endif>

          Our staff reported that things weren't working, but they were simply not logged in. The current 404 page is very confusing, as it doesn't indicate that you are not logged in.

          Maciej Jaros added a comment - - edited I think this part should be in bold or enlarged: <if not logged in> Try logging in and see if that helps. </endif> Our staff reported that things weren't working, but they were simply not logged in. The current 404 page is very confusing, as it doesn't indicate that you are not logged in.

          Daniel Beck added a comment -

          it doesn't indicate that you are not logged in

          It does, by showing the login link at the top right, rather than a link to the user profile and a logout link. It might not be as obvious as you'd like, but it's there.

          Daniel Beck added a comment - it doesn't indicate that you are not logged in It does, by showing the login link at the top right, rather than a link to the user profile and a logout link. It might not be as obvious as you'd like, but it's there.

          Maciej Jaros added a comment -

          It does, by showing the login link at the top right, rather than a link to the user profile and a logout link. It might not be as obvious as you'd like, but it's there.

           I know. No one on the teams noticed it though...

          Maciej Jaros added a comment - It does, by showing the login link at the top right, rather than a link to the user profile and a logout link. It might not be as obvious as you'd like, but it's there.  I know. No one on the teams noticed it though...

          Daniel Beck added a comment -

          I consider this issue a duplicate of JENKINS-71087.

          For the clearer message, I filed https://github.com/jenkinsci/jenkins/pull/9766 (no dedicated issue).

          Daniel Beck added a comment - I consider this issue a duplicate of JENKINS-71087 . For the clearer message, I filed https://github.com/jenkinsci/jenkins/pull/9766 (no dedicated issue).

            Unassigned Unassigned
            docwhat Christian Höltje
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: