Fix WordPress 404 Error on NGINX

Trying to use WordPress permalinks on NGINX can be very problematic to get working correctly. Since NGINX doesn’t support .htaccess files WordPress isn’t able to tell NGINX how to interpret the new permalink structure, thus resulting in a 404 error when trying to view any page other than the homepage. Since using pretty URL’s are very important for SEO (and just looking more professional) it’s quite important that you get it working correctly.

The fix for this error is surprisingly very easy to do!

Since you’re using NGINX I’ll assume that you know where your configuration file for your website is located.