Fórum
URL Shortening - Blogs
Tina Agrawal, modificado 8 Anos atrás.
URL Shortening - Blogs
Expert Postagens: 297 Data de Entrada: 03/01/08 Postagens Recentes
Hi All,
I am using Liferay 6.2 EE and trying to shorten the URL for Blog Portlet.
I tried using ext plugin as well as directly changing the portal-impl.jar as suggested by - http://blogs.isostech.com/liferay/cleaning-friendly-urls-liferay/
I basically changed the blogs-friendly-url-routes.xml and added redirect as an ignore parameter. Something like this -
But none of it seems to work. Any ideas?
Tina
I am using Liferay 6.2 EE and trying to shorten the URL for Blog Portlet.
I tried using ext plugin as well as directly changing the portal-impl.jar as suggested by - http://blogs.isostech.com/liferay/cleaning-friendly-urls-liferay/
I basically changed the blogs-friendly-url-routes.xml and added redirect as an ignore parameter. Something like this -
<route>
<pattern>/{entryId:\d+}</pattern>
<ignored-parameter name="redirect" />
<implicit-parameter name="categoryId"></implicit-parameter>
<implicit-parameter name="p_p_lifecycle">0</implicit-parameter>
<implicit-parameter name="p_p_state">normal</implicit-parameter>
<implicit-parameter name="struts_action">/blogs/view_entry</implicit-parameter>
<implicit-parameter name="tag"></implicit-parameter>
</route>
But none of it seems to work. Any ideas?
Tina
Meera Prince, modificado 8 Anos atrás.
RE: URL Shortening - Blogs
Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
Hi
You can try with URL Rewrite or Servlet filter forwarding concept.
Here is some information it may help you.
https://www.liferay.com/community/forums/-/message_boards/message/63244965
Regards,
Meera Prince
You can try with URL Rewrite or Servlet filter forwarding concept.
Here is some information it may help you.
https://www.liferay.com/community/forums/-/message_boards/message/63244965
Regards,
Meera Prince
Olaf Kock, modificado 8 Anos atrás.