Skip to content

Instantly share code, notes, and snippets.

@BigglesZX
Created January 16, 2012 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigglesZX/1620498 to your computer and use it in GitHub Desktop.
Save BigglesZX/1620498 to your computer and use it in GitHub Desktop.
Wordpress + nginx permalinks
@pothi
Copy link

pothi commented Jan 16, 2012

If is evil according to the official Nginx wiki. Please use the following to take care of pretty URLs...

location / {
    try_files $uri $uri/ /index.php?$args;
}

@BigglesZX
Copy link
Author

Thanks pothi, good to know. I'll update my config :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment