I want to setup simpler urls in nginx to login into wordpress i.e. /admin /login in nginx
I have tried multiple ways of tackling this with no luck. any ideas?
currently working with this, but I know it's not working
if ($uri ~* "/login") {
rewrite ^(.*)$ http://$host/wp-admin/;
}
Final Working Version:
if ($uri ~* "/login") {
rewrite ^/login(/.*)? /wp-admin$1;
}
http://$host/loginin browser? Did you take a look at error log? – quanta Sep 22 '11 at 13:30