<?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>Redirect user without access to private page to public page</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118335884" />
  <subtitle>Redirect user without access to private page to public page</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118335884</id>
  <updated>2026-04-04T23:06:07Z</updated>
  <dc:date>2026-04-04T23:06:07Z</dc:date>
  <entry>
    <title>RE: Redirect user without access to private page to public page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118336269" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118336269</id>
    <updated>2020-01-24T15:01:18Z</updated>
    <published>2020-01-24T15:01:18Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;John Cressman:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;I have a private site that contains some information we have locked down to a specific group.  When someone without access tries to get to the link, they get a 404 error.  Obviously, this is EXTREMELY unprofessional.Is there a way to configure a site to redirect someone without access to a public page?  Thank you!&lt;br /&gt;&lt;/blockquote&gt;I&amp;#39;m not sure I agree with 404 being &lt;em&gt;extremely unprofessional&lt;/em&gt;, compared to &amp;#34;There &lt;em&gt;is&lt;/em&gt; a document &amp;#39;people-to-be-fired-this-month.pdf&amp;#39;, but &lt;em&gt;you&lt;/em&gt; are not allowed to see it&amp;#34;.&lt;br /&gt;That being said, you&amp;#39;re free to implement your custom error handler.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-01-24T15:01:18Z</dc:date>
  </entry>
  <entry>
    <title>Redirect user without access to private page to public page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118335883" />
    <author>
      <name>John Cressman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118335883</id>
    <updated>2020-01-24T13:28:12Z</updated>
    <published>2020-01-24T13:28:12Z</published>
    <summary type="html">I have a private site that contains some information we have locked down to a specific group.  When someone without access tries to get to the link, they get a 404 error.  Obviously, this is EXTREMELY unprofessional.Is there a way to configure a site to redirect someone without access to a public page?  Thank you!</summary>
    <dc:creator>John Cressman</dc:creator>
    <dc:date>2020-01-24T13:28:12Z</dc:date>
  </entry>
</feed>
