[FIX] WordPress Permalinks on Nginx+PHP-fpm VestaCP

VestaCP is a popular free control panel for servers. It has a lot of features for any novice user who has less knowledge of running a linux server. Recently one of our clients installed VestaCP on his South Korea VPS and installed WordPress. Everything was set and his permalinks wasn’t working. He reached out to us to help him and after a little bit of research we came to know that the file structure Vesta CP creates seemed to be different. So this fix helped the client overcome his problem.

Add the following code to nginx.conf located at /home/user/conf/web/

try_files $uri $uri/ /index.php?$args;

The above code is to be added to the location section of each website you host.