Help – Does this work with NGINX?
-
I can’t get this plugin’s redirects to work with nginx. It was working correctly with apache’s .htaccess rules, listed below.
Even without any rules, the login page at /login will show up.
When the form submits, which is going to /login, it never sets the cookie and never logs in.@nginx rules
location /login { return 200 /wp-login.php?; }
location /passwordreset { return 200 /wp-login.php?action=lostpassword; }
location /join { return 200 /wp-login.php?action=register; }
location /logout { return 200 /wp-login.php?action=logout; }my old .htaccess rules from Apache
RewriteRule ^login /wp-login.php [QSA,L]
RewriteRule ^passwordreset /wp-login.php?action=lostpassword [QSA,L]
RewriteRule ^join /wp-login.php?action=register [QSA,L]
RewriteRule ^logout /wp-login.php?action=logout [QSA,L]With the plugin enabled, when I attempt to load: /wp-login.php it redirects to /login.
This is the same behavior with or without nginx rules. Seems like the POST is not making it to the wp-login.php routine. Anyone see this issue before, or have this issue solved?Much appreciated.
The topic ‘Help – Does this work with NGINX?’ is closed to new replies.