<?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>layout.friendly.url.page.not.found, problems with custom 404 page</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110374471" />
  <subtitle>layout.friendly.url.page.not.found, problems with custom 404 page</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110374471</id>
  <updated>2026-04-04T13:40:36Z</updated>
  <dc:date>2026-04-04T13:40:36Z</dc:date>
  <entry>
    <title>RE: layout.friendly.url.page.not.found, problems with custom 404 page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110684341" />
    <author>
      <name>Andreas Lecerof</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110684341</id>
    <updated>2018-08-10T11:40:50Z</updated>
    <published>2018-08-10T11:40:50Z</published>
    <summary type="html">&lt;p&gt;Thank you I will try that property!&lt;/p&gt;</summary>
    <dc:creator>Andreas Lecerof</dc:creator>
    <dc:date>2018-08-10T11:40:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: layout.friendly.url.page.not.found, problems with custom 404 page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110378125" />
    <author>
      <name>Ravi Shah</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110378125</id>
    <updated>2018-06-29T13:09:40Z</updated>
    <published>2018-06-29T13:09:40Z</published>
    <summary type="html">&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Can you try setting this property? &lt;/p&gt;
&lt;p&gt;sites.friendly.url.page.not.found=/errors/errorPage.jsp&lt;/p&gt;</summary>
    <dc:creator>Ravi Shah</dc:creator>
    <dc:date>2018-06-29T13:09:40Z</dc:date>
  </entry>
  <entry>
    <title>layout.friendly.url.page.not.found, problems with custom 404 page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110374470" />
    <author>
      <name>Andreas Lecerof</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110374470</id>
    <updated>2018-06-29T08:38:16Z</updated>
    <published>2018-06-29T08:38:16Z</published>
    <summary type="html">&lt;p&gt;I'm trying to present a custom 404-page to the user (Liferay 6.2,
  tomcat bundle).&lt;br /&gt; Apache is set to let all 404-requests go further
  to Liferay.&lt;br /&gt; I've set this property
  layout.friendly.url.page.not.found=/errors/errorPage.jsp in portal-ext.&lt;/p&gt;
&lt;p&gt;The following works:&lt;br /&gt; 1. The user navigates to a site that s/he
  is not a member of&lt;br /&gt; 2. The user navigates to a page that doesn't
  exist in a site the user is a member of&lt;br /&gt; In case 1) and 2) the
  user is directed to my errorPage.jsp&lt;/p&gt;
&lt;p&gt;But, the following does not work:&lt;br /&gt; 3. The user navigates to a
  site that doesn't exist&lt;br /&gt; 4. The user is not signed in&lt;br /&gt; In
  case 3) and 4) if I look in the Network tab in Chrome, the page gives
  a 404&lt;br /&gt; but the main theme is loaded. In case 4 the page is
  presented with the user's avatar and &amp;quot;Edit Controls&amp;quot;&lt;br /&gt;
  (in case 3 and 4, further down a text The requested resource was not found).&lt;/p&gt;
&lt;p&gt;Why does not case 3) and 4) above work?&lt;br /&gt; That is, why is not my
  errorPage.jsp presented in case 3) and 4)?&lt;/p&gt;</summary>
    <dc:creator>Andreas Lecerof</dc:creator>
    <dc:date>2018-06-29T08:38:16Z</dc:date>
  </entry>
</feed>
