Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Redirect user without access to private page to public page
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!
John Cressman:
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".
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!
That being said, you're free to implement your custom error handler.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™