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

Allow site admins to manage temporary redirects

    Details

      Description

      As a site admin

      I want to be able to manage temporary redirects

      so that my users do not hit 404s while the original page is worked on.

       

      Acceptance criteria

       

      Given a Liferay DXP instance

      When a site admin creates a redirection

      Then she can choose whether the redirection will be temporary or permanent

       

      Given a Liferay DXP instance

      When a user trie to access a URL for which there's a redirection created and set to temporary

      Then the user will be redirected to that URL with a 302 status code

       

      Given a Liferay DXP instance

      When a user trie to access a URL for which there's a redirection created and set to permanent

      Then the user will be redirected to that URL with a 301 status code

       

      Design (same as LPS-101741)

      Figma Mockup

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Frontend (JS-Unit)? Covered by Backend (Unit/Integration)? Test to add
      01 5 Redirection can be created as a temporary type. NO YES Redirect#AccessTemporaryEntry 
      02 5 Redirection can be created as a permanent type. NO YES Redirect#AccessPermanentEntry
      03 5 A user will be redirected to the target URL of a permanent redirection NO YES Redirect#AccessPermanentEntry 
      04 5 A user will be redirected to the target URL of a temporary redirection NO YES Redirect#AccessTemporaryEntry 
      05 5 The user will be redirected to the latest target URL of a permanent redirection after it is updated NO NO Redirect#AccessPermanentEntryAfterEdit
      06 5 The user will be redirected to the latest target URL of a temporary redirection after it is updated NO NO Redirect#AccessTemporaryEntryAfterEdit

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master