Title: Nginx Rewrite Problem
Last modified: July 21, 2020

---

# Nginx Rewrite Problem

 *  Resolved [Maurice Hason](https://wordpress.org/support/users/mhason/)
 * (@mhason)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/nginx-rewrite-problem/)
 * Hi,
 * I am having issues with the way the plugin rewrites URLs with Nginx.
 * The website is configured to use Cloudflare as a proxy and I have a firewall 
   rule on Cloudflare to block connections to /wp-admin and /wp-login
 * After logging in with the custom URL configured with the plugin it redirects 
   the URL to xxx.com/wp-admin… and thus the connection is blocked by the firewall.
 * Is there any way to configure the plugin to maintain the custom URL structure
   and not redirect to wp-admin after login?
 * Thanks in advance for your assistance.
    Maurice

The topic ‘Nginx Rewrite Problem’ is closed to new replies.

 * ![](https://ps.w.org/wps-hide-login/assets/icon-256x256.png?rev=1820667)
 * [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-hide-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-hide-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-hide-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-hide-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-hide-login/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 0 replies
 * 1 participant
 * Last reply from: [Maurice Hason](https://wordpress.org/support/users/mhason/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/nginx-rewrite-problem/)
 * Status: resolved