How to fix WordPress Permalink on VestaCP Nginx and PHP-FPM Server

After setup VestaCP using Nginx + PHP-FPM WordPress permalink will not work. Here I will show how to fix WordPress permalink in VestaCP control panel. Let’s login VestaCP control panel using your login link. Here I will show step by step,

Here is my VestaCp control panel login url:


after login we will see our control panel. Let’s add a domain and select web template “WordPress” then save the domain into VestaCP control panel. Let’s install WordPress on that domain using FTP or Terminal. I prefer to install WordPress using terminal. After installing WordPress let’s login into WordPress dashboard and check everything.

After creating domain VestCP control panel create a domain document root folder in the user folder. Let’s connect FTP where we will see some folders and files like screenshot.

Open “conf” folder then “web” folder after that open “nginx.conf” file in code editor. Goto the line where your domain server configuration written. Checkout on screenshot.

add the line one line number 62.

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

Here is new updated and edited screenshot.

it’s done. But permalink will not work. Goto VestaCP control panel and goto server, restart nginx server. Now it’s done finally. WordPress permalink will work perfectly.

Showing 2 comments
  • sb game hacker

    Right here is the perfect web site for everyone who wishes to understand this topic.
    You know so much its almost tough to argue with you (not that I really will need to…HaHa).
    You certainly put a fresh spin on a subject that
    has been discussed for a long time. Excellent stuff, just excellent!

    • janealam

      Thanks for your comment. If you want to know anything, I love to share with you.

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt
Free VestaCP File Manager, reset mysqlFree VestaCP File Manager, reset mysql