I need to simplify the url. I am using liferay portal.
Currently, the URL is as follows:
http://10.11.201.144:8080/web/guest/marketing?p_p_id=EXT_6&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_EXT_6_pageName=aboutus
I need to simplify it, for example: http://10.11.201.144:8080/web/guest/marketing/aboutus or something simple.
Life ray provides the Friendly URL parameter, I don’t know how to use it. Please, help.
, : https://dev.liferay.com/develop/learning-paths/mvc/-/knowledge_base/6-2/making-urls-friendly
, Liferay (. 189, " " )
default.user.private.layout.friendly.url=/home
.
I documented the steps for this 2 years ago on my blog in case I need it again. Here you are: http://elshawwa.blogspot.com/2009/05/liferay-virtual-hosting-friendly-url.html
Source: https://habr.com/ru/post/1734388/More articles:регулярное выражение (регулярное выражение) NOT, содержащее строку - regexWhy does Perl treat a hash element as a list context when declaring? - arraysDjango-cms example. How to run it? - djangoSignal 6 termination - c ++XML parsing on iPhone created in PHP - xmlJava implementation of converting time to words (RoR distance_of_time_in_words and time_ago_in_words) - javaGood github structure when working with many small projects that share a common code base? - version-controlDoes WPF storyboard animation continue when a hidden control is hidden? - visibilityShould dependencies of custom configuration sections be introduced? - dependency-injectionHibernate, manage and delete cascading order - ormAll Articles