• Resolved leojksa

    (@leojksa)


    Hi there

    This post asked the question I have, but it seems adding the hook that was offered at the bottom of the thread does not work at least in the latest wp and plugin version.

    Is there a new way to achieve showing the 404 instead of the ‘page unavailable’ page if a visitor hits /wp-admin?

    This is the suggested solution which doesnt seem to work currently:

    add_action('aiopws_before_wp_die_renamed_login', 'aiowps_renamed_login_404');
    function aiowps_renamed_login_404(){
    	AIOWPSecurity_Process_Renamed_Login_Page::aiowps_set_404();
    }

    Thanks

    • This topic was modified 4 years, 1 month ago by leojksa.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Set wp-admin to show 404 page instead of unvailable’ is closed to new replies.