legacy-knowledge-base
Publicado Jul. 25, 0002

About Friendly URLs for Web Content

written-by

Shimada Taro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • When I try to access the web content using the "Friendly URL" set when creating the web content, an error occurs and I cannot access the web content.

Environment

  • Liferay DXP 7.1, Liferay DXP 7.2

solution

  • Web Content Friendly URL is a setting that is enabled when using the "Display Page" function

Web___________________.png

Setting example:

  1. Build Site Pages Tab:View Page
  2. Press the + button, enter a page name and save it.
  3. Open the Fragment Settings menu from the top-right + button
  4. Switch to the Mapping tab and select "Asset Type:Web Content" and "Subtype:Basic Web Content" from the selection buttons
  5. Click the Publish button to publish the page.
  6. Go to Contents Web Contents
  7. Add new web content and select "Use a specific display page for web content" on the display page
  8. Select the content display page you published in step 5
  9. Publish Web content
  10. Access to content via friendly URLs in web content

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base