instead of just displaying the “Not available.” wp-die-message, is it possible to redirect or display the 404 error page?
i have the hide login page feature enabled and in case someone tries to browse to wp-admin they still know it’s the right directory since it just says not available. but if they go to a permalink slug that doesn’t exit, it displays it as a 404 message.
i’m using oceanwp theme which uses elementor in case that matters. thanks!
- The topic ‘display 404 page instead of “Not available.” on restricted pages’ is closed to new replies.