Title: wp-login.php?redirect_to= /wp-admin/
Last modified: August 19, 2016

---

# wp-login.php?redirect_to= /wp-admin/

 *  [Ario](https://wordpress.org/support/users/ariolander/)
 * (@ariolander)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/wp-loginphpredirect_to-wp-admin/)
 * I messed up my .htaccess I was able to fix it so my pages work but now whenever
   I attempt to log in it puts me into a loop where wp-login.php redirects me to
   wp-admin and then wp-admin back because it doesn’t think I am logged in.

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [16 years, 11 months ago](https://wordpress.org/support/topic/wp-loginphpredirect_to-wp-admin/#post-1257699)
 * If it’s really your .htaccess file doing it, rename or move that file to somewhere
   off your web server and log in again.
 * Once you are logged in, reset your permalinks. That should create a new default.
   htaccess file for you. Once that’s done carefully re-add any of your .htaccess
   customizations.

Viewing 1 replies (of 1 total)

 The topic ‘wp-login.php?redirect_to= /wp-admin/’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/wp-loginphpredirect_to-wp-admin/#post-1257699)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
