Do the following steps to remove “/web/guest” from the URL (Liferay 6.1):
- Login in as portal administrator.
- Go to Control Panel > Site Setting.
- Click on “Site URL“.
- Key in your desired domain in the “Public Pages” field (you can leave the Private Pages blank).
- Save your changes.
- You should be able to access the portal via your new domain (liferay.vt.com:8080) and “/web/guest” has been remove from the URL.
Note: Do not forget to include your domain in your host file and restart or clear your browser.
Warning: There seems to be an issue with the Site’s virtual hosts in Liferay Portal Community Edition 6.1.0 CE (Paton / Build 6100 / January 6, 2012). When our users tried to click on the portal’s links for the first time, they will be redirected back to the same page that they were in earlier.
Nick Lindberg (from Liferay forum) has summarized the problem for us:
When somebody loads our page for the first time, all the links are appended with:
and what seems to happen is that when you click on it, it just redirects you back to the same page [our homepage] only those “jsessionid” strings are now gone and everything works as normal.
According to the forum, this issue will be resolved in the next release. We will verify this portion once the release is out.
2th Aug 2012 – Latest Update!
Liferay Portal 6.1 CE GA2 Release is out and LPS-25587 is one of the issues that is been fixed