<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay friendly URL mapping doesn't work properly</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=13290364" />
  <subtitle>Liferay friendly URL mapping doesn't work properly</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=13290364</id>
  <updated>2026-04-06T22:02:24Z</updated>
  <dc:date>2026-04-06T22:02:24Z</dc:date>
  <entry>
    <title>RE: Liferay friendly URL mapping doesn't work properly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24103980" />
    <author>
      <name>Neil Griffin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24103980</id>
    <updated>2013-04-26T14:12:22Z</updated>
    <published>2013-04-26T14:12:22Z</published>
    <summary type="html">The fix for supporting Liferay Friendly URLs has been committed to Git and backported to all branches. See &lt;a href="http://issues.liferay.com/browse/FACES-257"&gt;FACES-257&lt;/a&gt; for more info. Prior to the official release, you can try SNAPSHOT versions of the Liferay Faces JAR artifacts from the &lt;a href="https://oss.sonatype.org/content/repositories/snapshots/com/liferay/faces/"&gt;snapshot repository&lt;/a&gt;.</summary>
    <dc:creator>Neil Griffin</dc:creator>
    <dc:date>2013-04-26T14:12:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay friendly URL mapping doesn't work properly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=23399033" />
    <author>
      <name>Neil Griffin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=23399033</id>
    <updated>2013-04-06T22:43:02Z</updated>
    <published>2013-04-06T22:43:02Z</published>
    <summary type="html">Hi Denis,&lt;br /&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Denis Korzh:&lt;/div&gt;&lt;blockquote&gt;I created simple portlet on Portlet API with the same mapping settings and its url doesn&amp;#39;t contains liferay parameters.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;When you get a chance, could you paste the Java code here for your simple portlet?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Neil</summary>
    <dc:creator>Neil Griffin</dc:creator>
    <dc:date>2013-04-06T22:43:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay friendly URL mapping doesn't work properly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290694" />
    <author>
      <name>Neil Griffin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290694</id>
    <updated>2011-09-23T18:48:27Z</updated>
    <published>2011-09-23T18:48:27Z</published>
    <summary type="html">Thanks for reporting this problem. I created issue &lt;a href="http://issues.liferay.com/browse/FACES-257"&gt;FACES-257&lt;/a&gt; in order to track this bug.</summary>
    <dc:creator>Neil Griffin</dc:creator>
    <dc:date>2011-09-23T18:48:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay friendly URL mapping doesn't work properly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290554" />
    <author>
      <name>Klaus Schnaithmann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290554</id>
    <updated>2011-08-04T07:42:58Z</updated>
    <published>2011-08-04T07:42:58Z</published>
    <summary type="html">We ran into the same problem!&lt;br /&gt;&lt;br /&gt;Parsing parameters to the portlet in a manually typed friendly url works just fine, but displaying a friendly url after an JSF action doesn&amp;#39;t work - the resulting url looke the the one Denis posted.&lt;br /&gt;&lt;br /&gt;We&amp;#39;re using Liferay 6.0.6, JSF2 (mojarra) and Portletfaces bridge. Did anyone manage to hide the liferay parameters with a similiar combination, or can suggest a workaround?</summary>
    <dc:creator>Klaus Schnaithmann</dc:creator>
    <dc:date>2011-08-04T07:42:58Z</dc:date>
  </entry>
  <entry>
    <title>Liferay friendly URL mapping doesn't work properly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290363" />
    <author>
      <name>Denis Korzh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13290363</id>
    <updated>2011-06-17T16:39:38Z</updated>
    <published>2011-06-17T16:39:38Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;There is  &lt;a href="http://www.liferay.com/en/web/connor.mckay/blog/-/blogs/5262286"&gt;friendly URL mapping&lt;/a&gt; in Liferay 6. But hiding of Liferay parameters doesn't work with Portletfaces bridge in this feature:&lt;br&gt;&lt;br&gt;liferay-portlet.xml: &lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;portlet&amp;gt;
    &amp;lt;portlet-name&amp;gt;filter&amp;lt;/portlet-name&amp;gt;
    &amp;lt;friendly-url-mapper-class&amp;gt;com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper&amp;lt;/friendly-url-mapper-class&amp;gt;
    &amp;lt;friendly-url-mapping&amp;gt;filter&amp;lt;/friendly-url-mapping&amp;gt;
    &amp;lt;friendly-url-routes&amp;gt;friendly-url-routes.xml&amp;lt;/friendly-url-routes&amp;gt;
    &amp;lt;instanceable&amp;gt;true&amp;lt;/instanceable&amp;gt;
    &amp;lt;private-request-attributes&amp;gt;true&amp;lt;/private-request-attributes&amp;gt;
    &amp;lt;private-session-attributes&amp;gt;true&amp;lt;/private-session-attributes&amp;gt;
    &amp;lt;ajaxable&amp;gt;false&amp;lt;/ajaxable&amp;gt;
&amp;lt;/portlet&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;friendly-url-routes.xml:&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;routes&amp;gt;
    &amp;lt;route&amp;gt;
        &amp;lt;pattern&amp;gt;&amp;lt;/pattern&amp;gt;
        &amp;lt;ignored-parameter name="p_p_col_id" /&amp;gt;
        &amp;lt;ignored-parameter name="p_p_col_count" /&amp;gt;
        &amp;lt;ignored-parameter name="p_p_mode" /&amp;gt;
        &amp;lt;ignored-parameter name="p_p_state" /&amp;gt;
        &amp;lt;ignored-parameter name="p_auth" /&amp;gt;
        &amp;lt;implicit-parameter name="p_p_lifecycle"&amp;gt;1&amp;lt;/implicit-parameter&amp;gt;
    &amp;lt;/route&amp;gt;
&amp;lt;/routes&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;The URL contains liferay parameters (p_p_col_id, p_p_col_count, p_p_mode):&lt;br&gt;&lt;pre&gt;&lt;code&gt;http://localhost:8080/en/web/guest/welcome/-/filter?_filter_WAR_jsf20portlet_INSTANCE_aK40__facesViewId=%2Fxhtml%2Ffilter_view.xhtml&amp;amp;amp;p_p_col_count=3&amp;amp;amp;p_p_col_id=column-1&amp;amp;amp;p_p_mode=view&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;I created simple portlet on Portlet API with the same mapping settings and its url doesn't contains liferay parameters.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Denis Korzh</dc:creator>
    <dc:date>2011-06-17T16:39:38Z</dc:date>
  </entry>
</feed>
