掲示板

How to remove query string in URL

7年前 に Elliot Klugman によって更新されました。

How to remove query string in URL

New Member 投稿: 6 参加年月日: 15/02/03 最新の投稿
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
7年前 に Samuel Kong によって更新されました。

RE: How to remove query string in URL

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
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.