display 404 page instead of “Not available.” on restricted pages
-
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!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘display 404 page instead of “Not available.” on restricted pages’ is closed to new replies.