x64architecture / wnmp

An easy Nginx, MariaDB and PHP environment for Windows.
https://wnmp.x64architecture.com
GNU General Public License v3.0
508 stars 109 forks source link

permalink setting in Wordpress, "404 Not Found" error #53

Closed tanveer19 closed 9 years ago

tanveer19 commented 9 years ago

i use wnmp for wordpress. if i set permalink setting to post name in Wordpress, then all posts give "404 Not Found" error.

tanveer19 commented 9 years ago

if you have installed wordpress in http://localhost/wordpress/ add location /wordpress { try_files $uri $uri/ /wordpress/index.php?args; }

in line number 61 of nginx.conf inside of the location block.