Issue
- We would like to remove the web/guest part of the URL, to shorten it
e.g. http://www.abc.com/web/guest/home-> http://www.abc.com/home
Environment
- Liferay Portal 6.2
- Liferay DXP 7.0
- Liferay DXP 7.1
- Liferay DXP 7.2
Resolution
- Generally the default public Site base URL is
https://localhost:8080/web
, and the private one ishttps://localhost:8080/group
- Modify /etc/hosts to include www.abc.com
- Admin Menu > Configuration > Site Settings section > drop-down the Site URL portion of the configuration page, and specify virtual hosts for the public and private pages.
e.g. add www.abc.com to public pages - Now the Home page opens as http://www.abc.com/home
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