• Resolved Vishy Moghan

    (@vishy-moghan)


    Hi
    I was advised to use iThemes WP security plugin on two of my sites. I installed and set up, and instructed the plugin to generate new DB names to replace the defaults. So far so good. But I also asked it to change my login page URL to protect it from hacks. The reason I was advised by my hosting service to do this was that there have been a few Brute Force attacks on my login php which caused an overload on my server and took my site down.

    Now though I can not access my login page. Where do I find out how the URL was changed and what it was changed to?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Vishy Moghan

    (@vishy-moghan)

    P.S. Where do I find my login page URL? Since the plugin has reformatted my DB tables I can not even view them any longer. This basically means that I can not find anyway of accessing the site Dashboards.

    Please can anyone tell me where to look so I can find the new URL for my login pages???

    A2BCool

    (@a2bcool)

    Hi Vishy,

    I like to use the wp-cli for these problems. If you have the wp-cli installed, you can do a simple command line
    wp eval 'echo wp_login_url()."\n";'

    or

    you can make a file called wheresmylogin.php in your root wordpress directory with the following code in it:

    <?php
    
    include 'wp-load.php';
    echo wp_login_url();
    
    ?>
    Thread Starter Vishy Moghan

    (@vishy-moghan)

    Hi Benjamin
    Thanks a lot, panic over, finally I accessed my config php and found the way iThemes security had changed the URL for my login page, phew!

    But your suggestion is interesting. I will experiment with it.

    Great to hear from you.

    masterninja01

    (@masterninja01)

    Hey Vishey,
    Do you mind sharing how you figured it out. I’ve looked in my config php and didn’t find how they did it. I only saw the “force ssl” stuff at the top from iThemes.

    Thread Starter Vishy Moghan

    (@vishy-moghan)

    Hi masterninja01
    Just check your .htaccess at the root of your WP install you’ll see the URL which has been changed.

    If the URL by default for login page is https://yoursite.com/wp-admin for example you will see in top part of the .htaccess that it has been renamed. This is to mask the browser URL only, it doesn’t change your file names. So I think by default iThemes Security changes “wp-admin” to “wplogin”. That’s about it. If you gave it some other custom name you will see it in your .htaccess.

    If you can’t see your .htaccess in your FTP cPanel then contact your provider to make it visible.

    That was all I did, basically found the changed URL and so accessed my login page again.
    I hope that helps.

    Vishy….. THANK YOU!

    I had the same trouble and your post helped me resolve it!

    God bless.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘iThemes security login page URL’ is closed to new replies.