Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-6294

As a developer, I want to change the Product and Category URL pattern

    Details

      Description

      Background

      We use /p/ and /g/ within the friendly URLs for Commerce display pages. To improve the search presentation for SEO purposes, clients want to change the /p/ and /g/ to something meaningful like /product/ and /category/.

      Proposed Solution

      1. We make this configurable in the UI and allow admins to define a string on a virtual instance level.
      2. We provide an extension point which allows developers to deploy a customization which changes the string

      Acceptance Criteria

      TBD

      • We need to consider the constraints we put on the string, e.g. no spaces, support for UTF-8, etc.
      • Doesn't conflict with the reserved strings, e.g. /-/
      • Redirects: nice to have
      • There is a note that warns users not to change this in production

      Notes

      • I prefer to provide an extension point so this is a development task actually more effort than a system settings config so let's go with option #1
      • Consideration: multi-lingual support? What are the drawbacks of adding support for a different strings depending on locale. Depends on if it's already supported in our config. If it is, we get this for free and should do it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4 CE GA2
                  Master