Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-106994

Redirect 404s to the home url of the site

    Details

      Description

      As a site admin

      I want that when a user hits a 404 page of my site is redirected to the home url of my site, instead of the home of the instance

      so that they are not confused about this change of context

       

      Acceptance criteria

       

      Given a Liferay instance with "my new site"

      When a user tries to access a URL that does not exist like http://localhost:8080/web/my-new-site/fakePage

      Then the user will be redirected to the home of the current site http://localhost:8080/web/my-new-site

      And a not found error shown

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
      01 5 Accessing a nonexistent URL redirects the user to the home of the current site  Yes Redirect#Redirect404sToSiteHomePage 
      02 5 The system displays a "not found" error when a user tries to access a nonexistent URL  No  Redirect#Redirect404sToSiteHomePage

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            pablo.agulla Pablo Agulla
            Engineering Assignee:
            Alicia Garcia
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master