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

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.
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助