Thursday, January 23, 2014
10:46 PM

Solution : Nginx Wordpress Pretty Permalinks Problem

To enable Pretty Permalinks feature in nginx simply modify the nginx conf file of wordpress site add following line
try_files $uri $uri/ /index.php?$args;
check example where to add above line

Example:
file: wordpress.conf
.....................
.......................
 location / {
        root   /var/www/html/wordpress;
        index  index.php index.html index.htm;
try_files $uri $uri/ /index.php?$args;
    ...
    .....

 }
................
................

0 comments:

Post a Comment