Created
March 21, 2015 17:24
-
-
Save tralston/c4f88997c7d14e7bfcca to your computer and use it in GitHub Desktop.
Fix Wordpress permalinks on nginx
This file contains hidden or 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
#Put this in the nginx.conf file. You may need to add "index index.php" under the server block. | |
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment