Page not found (404) redirects to the 'default' (Guest) web site
Written By
Prarthana Jadhav
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
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When an incorrect URL is hit on the portal, the "The requested resource could not be found" error or Page not found error redirects to the default site and not to that particular site.
Environment
Resolution
- The observed behaviour is an intended behaviour of Liferay.
- The reason behind this intended behaviour is when an incorrect URL is hit, it should land on a page giving an appropriate message. By default, the landing page for this is the Guest site and hence it redirects to Guest/Default site.
Did this article resolve your issue ?