Title: Problem when changing wp-login.php
Last modified: July 29, 2020

---

# Problem when changing wp-login.php

 *  [beauw](https://wordpress.org/support/users/beauw/)
 * (@beauw)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/problem-when-changing-wp-login-php/)
 * Hello,
 * we installed the plugin to redirect our users to their profile after logging 
   in, and it works great.
 * However, we now want to implement a recommended security patch: modifying the
   wp-login.php to a custom url (through iThemes or Perfmatters).
 * When we try it, we lose the redirect.
    Our assumption is because PLR fetches 
   the “classic” wp-login.php url. I went to my cPanel, but I could not locate where
   your plugin gets its login URL reference from.
 * Can you tell us how we can change the login url that PLR pre-fetches?
 * Thank You
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-when-changing-wp-login-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Problem when changing wp-login.php’ is closed to new replies.

 * ![](https://ps.w.org/peters-login-redirect/assets/icon-256x256.png?rev=2597671)
 * [LoginWP (Formerly Peter's Login Redirect)](https://wordpress.org/plugins/peters-login-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/peters-login-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/peters-login-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/peters-login-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/peters-login-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/peters-login-redirect/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [beauw](https://wordpress.org/support/users/beauw/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/problem-when-changing-wp-login-php/)
 * Status: not resolved