• Resolved koenvanwanrooij

    (@koenvanwanrooij)


    Hi,

    We really like your plugin but we would like to customize the “Brute Force WP-Admin hide” part. Is there any possibility that we can change the “Not Available” page or that it can be redirected to 404 or the homepage?

    Thanks in advance,

    Koen van Wanrooij

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, are you talking about Rename Login Page or Cookie Based Brute Force Prevention?

    Is there any possibility that we can change the “Not Available” page or that it can be redirected to 404 or the homepage?

    If you enable Cookie Based Brute Force Prevention instead of Rename Login Page, this gives you the option to enter a Re-direct URL:. Is this what you are looking for?

    Kind regards

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi Koen,

    Is there any possibility that we can change the “Not Available” page or that it can be redirected to 404 or the homepage?

    Yeah sure – there is a hook you can use as follows.
    Example: One way is you can put code similar to the following in your theme functions.php:

    add_action('aiowps_before_wp_die_renamed_login', 'redir_aiowps_before_die');
    function redir_aiowps_before_die(){
     wp_redirect('https://whatever-page-you-want.com');
     exit;
    }
    Thread Starter koenvanwanrooij

    (@koenvanwanrooij)

    Great! Thanks both.

    -We’ve implemented the Re-Direct URL solution now and it seems to work, the only “bad” thing about it is that we can’t specify the exact name for the admin page (like we want to have: example.com/login-page and it automatically changes it into example.com/?loginpage=1)

    What solution would you guys think is the most solid?

    Thanks again!

    Koen

    Thread Starter koenvanwanrooij

    (@koenvanwanrooij)

    Ah, the “Re-Direct URL” solution didn’t work well. Our normal users couldn’t use the normal login button anymore. We’re going to test the second solution tonight.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    -We’ve implemented the Re-Direct URL solution now and it seems to work, the only “bad” thing about it is that we can’t specify the exact name for the admin page (like we want to have: example.com/login-page and it automatically changes it into example.com/?loginpage=1)

    Can you provide more information of how your user are login into your site?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Redirect wp-admin to page’ is closed to new replies.