• This is good plugin for security ,
    i love the feature about renaming login url, but i think will better if we set 404 page rather than 403 (wordpress error) for wp-admin if not login.
    or maybe there is a way to setting 404 page if visitor trying to access wp-admin for my case ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I agree with you @buyzer. Right now, it pulls up a screen that says ‘Not available.’ but it would be ideal for this to return a 404 otherwise this kind of tells everyone that this is most definitely a wordpress site. Can we possibly get this pushed into a product backlog for this plugin?

    On another note, does anyone know how to edit the ‘Not available.’ page? Is there a file I can drop in my child theme folder?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, are you talking about if you enable Rename Login Page? If you are, have you tried the other feature instead Cookie Based Brute Force Login Prevention?

    Regards

    • This reply was modified 6 years, 11 months ago by mbrsolution.
    Thread Starter Buyung Abadi

    (@buyzer)

    @mbrsolution
    yep , i’ve tried Cookie Based Brute Force Login Prevention, that’s great feature. But that not what i want :D. so just simply , if i enable Rename Login Page, set 404 for wp-admin if not login. this make more invisible if we use wordpress for visitor ??
    Cheers

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for clarifying further what you mean. I have submitted a message to the developers to investigate this further.

    Kind regards

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi
    Ok. The easiest solution is that I will add an action hook which you can use to produce your 404 event just before the aiowps does the “wp_die” (which produces the current behaviour).
    This hook will be available in the next release.

    Thank you for being open to user feedback! It’s awesome. Looking forward to this at the next release. Would you be able to share how to use this action hook? Would we call it from a function in our functions.php file?

    Thread Starter Buyung Abadi

    (@buyzer)

    Awesome,
    Thankyou

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Here’s an example of how to use the hook.
    You would place code similar to the following in your theme functions.php file:

    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();
    }
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘set 404 for wp-admin if not login’ is closed to new replies.