• hello

    am looking to make a password on wp-login so i stop the bruteforce from accessing my blog ..

    i dont have any members and dont want to open my wp-login.php just for the admin ..

    so please is there anyway to lock it or change the location for it without any effect ???

Viewing 3 replies - 1 through 3 (of 3 total)
  • MichaelH

    (@michaelh)

    If you give the admin user a good password I can’t imagine brute force working…

    But, you might try this:
    Create a new user (e.g. newadmin) and assign that user the Administrator Role.

    Login as that user.

    Delete the user called admin and assign the posts

    Make sure you give newadmin a good password.

    Thread Starter Firas Bashiti

    (@j0rd4n14n)

    wow same trip am doing like this now ..

    but what am looking for some tricks to make it in the wp-login.php or some rules works with .htaccess for accessing the wp-login.php for (127.0.0.1) you choose it ..

    its a idea nothing more for the new version ..

    krembo99

    (@krembo99)

    You can do this in the .htaccess inside your wanted dir

    AuthType Basic
    AuthUserFile /safe/dir/htpasswd
    AuthName "Text displayed in popup"
    require valid-user   **//(or - require user NameOfUser - )

    then create an .htpasswd file

    htpasswd -cb /safe/dir/htpasswd user1 password1
    htpasswd -b /safe/dir/htpasswd user2 PaSsWoRd2

    or use online pass generators for .htpasswd

    you have a PLUGIN that does that for you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘about wp-login.php’ is closed to new replies.