Legacy Knowledge Base
Published Sep. 10, 2025

Restricting/Disabling the Default Liferay DXP (Guest) Site access.

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

  • The '/web/guest' associated with the domain name will redirect to the default DXP site.

                       Site 1 - www.domain1.com/web/site1/home lands to Homepage of Site1
                       Site 2 - www.domain2.com/web/site2/home lands to Homepage of Site2

    • Now, from site1 if we hit, www.domain1.com/web/guest/home it redirects to default Liferay site.  and the Welcome page of the Guest site is opened as shown in the below image. screenshot

      DefaultSite.png

Environment

  • Liferay DXP 7.0

Resolution

  • However, if you want  to restrict/disable the access of this Guest site, then below two approaches can be used:
    1) Through Web Server by using redirection.
    2) Achieving the desired requirement by creating a custom plugin that can restrict this URL. 

Additional Information

  • This resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations.
Did this article resolve your issue ?

Legacy Knowledge Base