Set pretty permalinks in Wordpress. Solve 404 error on Nginx
Written by Guillermo Garron
Date: 2012-04-27 16:23:00 00:00
How to solve 404 error in Wordpress, working with Nginx, when enabling pretty permalink structure.
Just add this line in the location block.
try_files $uri $uri/ /index.php;