How to get Gutenberg working with WordPress on NGINX

Here is a step-by-step guide from start to finish on how to get the new Gutenberg editor working with WordPress 4.x.x for users who host their website on NGINX.

Gutenberg is the new WordPress editor, which will ship with 5.0.

I won’t bore you by describing it further, as you have come here to get it working with NGINX.

This tutorial requires you to know how to edit a NGINX config.

First, install the plugin.

Now add or replace the following to your config file.

location / {  
 try_files $uri $uri/ /index.php$is_args$args;   
 }

Code language: Nginx (nginx)

Restart your server and Gutenberg should work with WordPress

If you have any question leave a comment below or leave a message.