Query String is not append to the URL, after adding it through Pages > Advanced setting


  • Query String is not appended to page URL after adding it through Pages -> Advanced settings.Capture.PNG


  • Liferay DXP 7.1


  • The Query String Parameter won’t be appended to the URL as it is meant to be the default and hidden behind the page. This is the expected behavior.
  • The following is an example of how Query String works:
    1. Add a "Sign In" portlet to the “Welcome” page.
    2. Navigate to Liferay DXP site > Build > Pages, click "Configure" for the "Welcome" page.
    3. In Advanced > Query String, Change the parameter as below.
    4. Go back to the "Welcome" page. 
      Result: The URL is still http://localhost:8080/web/guest/home. However, the "Create Account" content in Sign in portlet is displayed on the Welcome page. Refer to the attached screenshot.


  • To append the query string to the URL and reveal it to the end-user in the URL, customization is needed.
0 人中有 0 人觉得有帮助