Following on from the ISPConfig3 running on nginx tutorial I then came to installing a WordPress site within ISPConfig. Piece of cake, right?

So I went about the usual process of setting up a new site and database within the ISPConfig interface. Then I grabbed the latest WordPress (wget, placing it in the correct location inside the “web” directory for this particular site. Ownership/permissions were then updated – everything as per normal in this environment.

I then enter the URL into my browser and low and behold the WordPress home page appeared. Great! Until I browsed to any other page within the test site:

ERROR 404 – Not Found!

From a considerable bit of Googling I found the following piece of code needs to be appended to your nginx Directives (ISPConfig > Website > Options)

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

Restarted nginx and we’re back in business. All pages loading as they should.


Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: