• Resolved adamp123

    (@adamp123)


    Hi,

    First of all, thanks for the free plugin ??

    So I’ve set my admin alternative name in the permalinks and that works fine.
    If i go to /wp-admin it redirects to the homepage as expected.

    However, if I go to /wp-login.php the login page works fine. I’m only trying to block as some bot is repeatedly trying to gain access. I added a login fail limiter plugin, but i think the best way is to just prevent access in the first place.

    Thanks
    Adam

    https://www.ads-software.com/plugins/hc-custom-wp-admin-url/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter adamp123

    (@adamp123)

    Sorry, don’t think that was super clear.

    /wp-admin > goes to homepage (correct)
    /myspecialadminpage > allows me to log in as admin (correct)
    /wp-login.php > allows me to log in, but shouldn’t! (fail)

    Thanks

    Plugin Author somewebmedia

    (@somewebmedia)

    That’s strange. What version of WP are you using? Are you using any other security plugins that could interfere?

    Thread Starter adamp123

    (@adamp123)

    Hi. I’m using 3.7.1.

    The only other security plugins I have installed is “Limit Login Attempts”. I’ll try disabling and see if that does anything…

    Thread Starter adamp123

    (@adamp123)

    Ok, that fixed it, thanks for the quick reply!

    i have the same problem but not using Limit Login Attempts plugin.

    It redirects to the home page after login not the admin dashboard.

    This is my new htaccess file it created

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteRule ^securelogin/?$ /wp-login.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I see that this is marked “resolved,” but I have the same problem, and this thread does not offer any solution.

    1) The redirect to my custom login works fine, but
    2) wp-login.php is still available for logging in.
    3) I have disabled “limit login attempts.

    This plugin was recommended by my server host in response to botnet attacks. I really, really want it to work, and it appears to be just what I need.

    UPDATE: I am locked out of my site now. The login page returns me to the site itself, with no dashboard access. Though I want this plugin to work, as soon as I can hack into my own site, I will have to remove it.

    I agree with @dmkizer. The same thing is happening to me. The login page returns me to my homepage after logging in, not the dashboard.

    Upon commenting out the below line in my .htaccess, I was able to log into my dashboard normally (though wp-admin; though, the functionality of the plugin doesn’t work anymore – of course).

    # RewriteRule ^youcanttouchthis/?$ /wp-login.php [QSA,L]

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Admin redirect works great, wp-login.php doesn't’ is closed to new replies.