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
Setting example:
- Build Site Pages Tab:View Page
- Press the + button, enter a page name and save it.
- Open the Fragment Settings menu from the top-right + button
- Switch to the Mapping tab and select "Asset Type:Web Content" and "Subtype:Basic Web Content" from the selection buttons
- Click the Publish button to publish the page.
- Go to Contents Web Contents
- Add new web content and select "Use a specific display page for web content" on the display page
- Select the content display page you published in step 5
- Publish Web content
- Access to content via friendly URLs in web content
Additional Information
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In