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
-
This reply was modified 7 years, 3 months ago by
mbrsolution.
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;
}
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
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.
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