Hello,
When we restrict access to a page, we have only 2 options :
Return HTTP 404 error
Show access error message
How to redirect the user to a specific page ?
Thank you
Hello,
Thank you for your replay, i have a lot of plugins and don’t want to surcharge the website by another plugins for just one more feature.
I think it will be interesting to add this feature to your plugin intsead of sending user to a 404 page (in this page we can display message or add login form !)
Please see the image below :