Page 1 of 1

Wordpress Permalinks for Vesta Nginx-PHP-fpm

Posted: Sun May 01, 2016 3:04 pm
by daz1uk
Hi all,

Can someone please tell me what and where I need to add to my setup to get pretty URL's working? The file structure Vesta CP creates seems to be different to most guides I have come across and what ever I try ends with errors.

Re: Wordpress Permalinks for Vesta Nginx-PHP-fpm

Posted: Sun May 01, 2016 3:39 pm
by daz1uk
Solved,

Add "try_files $uri $uri/ /index.php?$args;" to nginx.conf located at /home/user/conf/web/.

"try_files $uri $uri/ /index.php?$args;" Needs to be added to the location section of each website you host.