Redirect user without access to private page to public page

John Cressman, modified 5 Years ago. Junior Member Posts: 39 Join Date: 8/15/17 Recent Posts
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!
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
John Cressman:

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!
I'm not sure I agree with 404 being extremely unprofessional, compared to "There is a document 'people-to-be-fired-this-month.pdf', but you are not allowed to see it".
That being said, you're free to implement your custom error handler.