Brute force – After login it redirects to the homepage instead of /wp-admin
-
Hi there,
I’m having a redirect issue when i use the “Brute Force” option set to “my-admin”.
When i try to login it redirects to the homepage instead of mysite.com/wp-admin.
The login seems working as i can access after the redirection to the homepage to both urls: mysite.com/wp-admin and mysite.com/my-admin.
Hope somebody can help me with this issue.
Thanks,
Sam-
This topic was modified 8 years, 6 months ago by
s7a8m.
-
This topic was modified 8 years, 6 months ago by
-
Hi Sam, did you enable Rename Login Page feature? If you did then the only way to log into your site’s admin is by typing yoursite.com/secretword.
If you can type anything else i.e. yoursite.com/wp-admin or yoursite.com/wp-login then that means the above feature is not working correctly.
Is this the case in your situation?
Hi @s7a8m,
When i try to login it redirects to the homepage instead of mysite.com/wp-admin.
I suspect that there might be a plugin or theme conflict.
I recommend you try some simple conflict tests to see whether another plugin or your theme is causing this behaviour.Hi @wpcolutions,
Thanks for replying.
I’ve tried disabling all my plugins and keep active only WP Security.
Still same issue – the .htaccess file is also clean with the default one for a Multise:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ wp/$1 [L]
RewriteRule . index.php [L]Disabling the plugin works good without issue.
Thanks for your help in advance.
Sam
Hi,
I’m having a similar problem, but a whole lot worse. Everything on the site was perfect until I clicked to enable Brute Force Cookie and created a Secret Word, etc.
One of the very first things I did was to change the ‘admin’ name at login.
Now when I attempt to login using the URL that includes the Secret Word, or even view the web site as a visitor, I’m taken to an IP address that says “This site can’t be reached.
This is a matter of some urgency because the entire and quite important site has disappeared.
I’ve FTP’d a back-up of the whole site, together with back-ups of the DB and .htaccess file, and there is absolutely no difference.
@s7a8m, can you test one of WordPress default themes like Twenty Sixteen or Seventeen?
@darkengine2017, can you start a new support thread.
Thank you
I can’t get to the site because it doesn’t show. The only view available is via FTP.
There isn’t anything wrong with the theme. As I said everything worked beautifully before clicking the Brute Force thing!
I don’t know what ‘a new thread’ is meant to be.
What I meant if you don’t mind, can you start a new support thread. It is much easier to deal with issues from different users.
Thank you
As I’ve already said, I don’t know what ‘a new thread’ is meant to be.
So let’s not worry about it. I’ll get our developer to fix it and get rid of some of the less-stable plugins.
Thanks
You are most welcome but this is what I mean by a new thread. Go all the way to the bottom of the page and you will see an option to open up a new support thread “Create a new topic”.
Let me know if you need more information.
Kind regards
I’ve noticed this happening as well.
The problem is that the
redirect_urlis set back to the login screen after logging in, hence the loop. However, after you log in and see the login screen again, you are already logged in and can simply type in wp-admin in the URL to get to the Admin screen.Cheers,
Vinny-
This reply was modified 8 years, 6 months ago by
useStrict.
Hi @mbrsolution,
I’ve tried to activate Twenty Sixteen theme disabled all the plugins (except for “All in One WP Security” obviously) and I’m still having the same issue.
When I login with the new custom URL (e.g. mysite.com/my-admin) it logs you in but redirects to the homepage in fact, if I add to the URL /my-admin or /wp-admin I can access to the Dashboard. The issue is that redirects to the homepage instead of mysite.com/my-admin.
This is happening only for the MULTISITE, if I disable the multisite option “define(‘MULTISITE’, false);” from the wp_config.php it works perfectly.
Hope this can help you to troubleshoot the issue.
Thanks for your help.
SamHi @s7a8m, that information will definitely help the developers further investigate this issue.
Thank you
Hi,
This is happening only for the MULTISITE
OK thanks for the info.
I will do some more investigations.Hi Sam,
I have tried to reproduce this on a test site which is running multi-site and I am unable to see the issue you are seeing. Hence it is difficult to fix something which is not reproducible (in my case).Get in touch via my contact form and maybe we can work something out.
-
This reply was modified 8 years, 6 months ago by
The topic ‘Brute force – After login it redirects to the homepage instead of /wp-admin’ is closed to new replies.