Title: Nginx compatability
Last modified: August 20, 2016

---

# Nginx compatability

 *  [jackshwat](https://wordpress.org/support/users/jackshwat/)
 * (@jackshwat)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/nginx-compatability/)
 * Ive looked through all the provided documents and havnt found information on 
   what needs to be done with nginx to make it work with better wp security plugin.
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

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

 *  [Bit51 (part of the iThemes family)](https://wordpress.org/support/users/bit51/)
 * (@bit51)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/nginx-compatability/#post-3242542)
 * About half of my own sites using it use NGINX. You’ll only need to enter the 
   rewrite rules in your host configuration.
 *  [therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * (@therandomguy12345)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/nginx-compatability/#post-3242610)
 * [@bit51](https://wordpress.org/support/users/bit51/)
 * What do I need to do to make this compatible with nginx? What exact “rewrite 
   rules” do I need in my host configuration?
 *  [Atlant](https://wordpress.org/support/users/xorred/)
 * (@xorred)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/nginx-compatability/#post-3242611)
 * “You’ll only need to enter the rewrite rules in your host configuration.” – how?
   Mind posting a how-to somewhere?
 *  [therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * (@therandomguy12345)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/nginx-compatability/#post-3242612)
 * [@bit51](https://wordpress.org/support/users/bit51/)
    [@chriswiegman](https://wordpress.org/support/users/chriswiegman/)
   Please do respond soon. I sent an email via your contact form on website about
   it as well. I host with WP Engine and they have also asked me to contact plugin
   developer/author about what exact rewrite scripts are needed.
 * I am using your Hide Backend feature and on nginx server (with WP Engine) and
   this is my scenario:
 * When I go to `mydomain.com/my-changed-admin-url`, it redirects to `mydomain.com/
   wp-login.php?my-secret-key&redirect_to=/wp-admin/`
 * and `mydomain.com/my-changed-login-url` redirects to
    `mydomain.com/wp-login.
   php?my-secret-key`
 * None of these URL’s actually contain “-” (hyphens), I just included them to make
   it easier to read the placeholders — replaced them with my actual back-end URL’s.
 * Anyways, I believe this has to do with lack of rewrite rules in nginx host configuration
   like you said. Please respond as soon as possible and include what specific rewrite
   rules need to be added into host configuration. Thanks in advance!

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

The topic ‘Nginx compatability’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/nginx-compatability/#post-3242612)
 * Status: not a support question