Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why
« Back to Using Liferay

Friendly URLs

Introduction #

A "friendly URL" is one that calls the portal system using an end user friendly URL instead of one that contains a lot of parameters and is more machine derived. Friendly URLs are served by

com.liferay.portal.servlet.FriendlyURLServlet
, which is configured in
WEB-INF/web.xml
for both public and private URLs.

More Info #

The default public friendly URL is a request that starts with

/web/*
(as opposed to the normal
/c/*
which calls the
MainServlet
.) A private URL starts with
/group/*
. These can be configured by changing the servlet mapping in
web.xml
, as well as
layout.friendly.url.private.servlet.mapping
and
layout.friendly.url.public.servlet.mapping
properties in the
portal.properties
file (overwrite them in
portal-ext.properties
.)

Children Pages

0 Attachments
47303 Views
Average (5 Votes)
The average rating is 2.8 stars out of 5.
Comments