Title: Custom login path
Last modified: July 13, 2019

---

# Custom login path

 *  Resolved [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/custom-login-path/)
 * Hi,
 * I am trying to make Hide My WP work with your plugin which is a great plugin 
   by the way.
 * I noticed that if I change the path from wp-login.php it is not blocking the 
   user anymore.
 * Can you update the code and add in the is_backend_page() function:
 * return $GLOBALS[‘pagenow’] == site_url(‘wp-login.php’);
 * Thanks, John

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/custom-login-path/#post-11787645)
 * Added.
 *  Thread Starter [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/custom-login-path/#post-11789048)
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom login path’ is closed to new replies.

 * ![](https://ps.w.org/ip2location-country-blocker/assets/icon-128x128.png?rev=
   2121917)
 * [IP2Location Country Blocker](https://wordpress.org/plugins/ip2location-country-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip2location-country-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip2location-country-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip2location-country-blocker/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/custom-login-path/#post-11789048)
 * Status: resolved