Title: Smart solution!
Last modified: September 2, 2016

---

# Smart solution!

 *  [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/smart-solution/)
 * Very smart solution, would be cool if this would work with NGINX too, these rewrites
   should work for that:
 *     ```
       rewrite ^/safe-entrance.php$ /wp-login.php last;
       if ($request_uri ~ ^/wp-login\.php) { return 403; }
       ```
   

The topic ‘Smart solution!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/project-force-field_7e8279.svg)
 * [Project Force Field](https://wordpress.org/plugins/project-force-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/project-force-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/project-force-field/)
 * [Active Topics](https://wordpress.org/support/plugin/project-force-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/project-force-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/project-force-field/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/smart-solution/)