WordPress Permalinks on VestaCP with Nginx

On VestaCp, the Nginx conf file for all your domains is located in:


Using Nano (or similar editor), locate the part where your domain is mentioned, and under location, you add the following lines:

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

See line #12:



Leave a Reply

Your email address will not be published. Required fields are marked *