Foren

How to remove query string in URL

Elliot Klugman, geändert vor 7 Jahren.

How to remove query string in URL

New Member Beiträge: 6 Beitrittsdatum: 03.02.15 Neueste Beiträge
Can this https://www.winwinusa.com/web/guest/signin?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&saveLastPath=false
be easily simplified to .../signin

I have read a lot of different posts on how to use friendly url and remove query string but I still can not get this achieved in our Liferay 6.2 installation. Can some one walk me through this and all the specific files that would need to be modified specific for the login hook.
thumbnail
Samuel Kong, geändert vor 7 Jahren.

RE: How to remove query string in URL

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
With friendly URL, you can shorten the URL to something like https://www.winwinusa.com/signin/-/signin/. However, you can't shorten to just https://www.winwinusa.com/signin/. The reason is because /signin only specifies a page. Since it's possible to multiple portlets on a page, you must also have something that specifies which portlet on the page you're referring to.