This website uses cookies to ensure you get the best experience. Learn More.
How do I change Liferay Portal web context path from ROOT to portal
The article outlines the steps to change the default Liferay Portal web context from "/" to "/portal" ?
Over-ride the property "portal.ctx" in file "LIFERAY_HOME/portal-ext.properties". Add (or over-ride) the following property :
portal.ctx=/portal
If you are using a Liferay Portal 6.1 + Tomcat bundle, you can change the Liferay Portal web app context path to "/portal" as follows :
Liferay Portal will now rewrite all paths relative to "/portal". Hence "/web/guest' will become "/portal/web/guest". NOTE: If you are using a different Java web application server, or a non-LP+Tomcat bundle, the configuration process may vary.