Created
July 12, 2012 18:57
-
-
Save edingc/3100143 to your computer and use it in GitHub Desktop.
Client-friendly WordPress administration URL rewrites in nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /{ | |
# Other rules here... | |
rewrite ^/[Ll][Oo][Gg][Ii][Nn]$ /login/ permanent; | |
rewrite ^/[Ll][Oo][Gg][Ii][Nn]/$ /wp-login.php permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment