In the page editor, there are 4 options for “actions”, meaning 4 responses to inssuficient rights :
– Return 404
– Show Access Error Message
– Show Custom Access error message
– Redirect to URL
In the global settings, there are only 3 actions, the first 3 ones. So how can I reproduce the action of the 4th one ?
Ideally, my plan is as follow : (1) Create a general page, with content like “not enought right, please login or contact administration if you’re already logged-in”, (2) redirect the insufficient rights to this page.
This is possible with action 4, but I’d need to do it for every page. Is there a way to make it global, even if I need to edit the “functions.php” page ?