Title: about wp-login.php
Last modified: August 19, 2016

---

# about wp-login.php

 *  [Firas Bashiti](https://wordpress.org/support/users/j0rd4n14n/)
 * (@j0rd4n14n)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/about-wp-loginphp/)
 * 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](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/about-wp-loginphp/#post-904296)
 * 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](https://wordpress.org/support/users/j0rd4n14n/)
 * (@j0rd4n14n)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/about-wp-loginphp/#post-904507)
 * 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](https://wordpress.org/support/users/krembo99/)
 * (@krembo99)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/about-wp-loginphp/#post-904517)
 * 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](http://www.askapache.com/wordpress/htaccess-password-protect.html#aai)
   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.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [krembo99](https://wordpress.org/support/users/krembo99/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/about-wp-loginphp/#post-904517)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
