$: cat tags > Divi | Nginx | WordPress

Divi theme – Enable Visual Builder and Theme Builder doesn’t work on Nginx

If you are using the Divi theme for WordPress on a server with Nginx, you will need to further customize Nginx for the Enable Visual Builder and Theme Builder options to work properly.

Here’s what you need to do:

Access the server via SSH connection.

Find the NGINX configuration file and add the following:

$is_args$query_string

right after:

location / {
    try_files $uri $uri/ /index.php

Take a good look at the picture to see exactly what it looks like:

Lines before editing:

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

Lines after editing:

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

Save the configuration file.

Reload Nginx with the command:

sudo systemctl reload nginx

Check the Nginx configuration syntax with the command:

sudo nginx -t

If everything is in order, Divi Builder will now surely work correctly and without problems.

Where is the Nginx configuration file located?

If you do not already know where it is, it is best to contact your administrator or hosting technical support and they will help you with this solution. You can also forward this article to them.

The Nginx configuration file can be in different locations, depending on how the administrator configured Nginx.

What does the Divi problem with Nginx look like?

A problem with a Divi theme on an Nginx server manifests itself in three ways:

  1. Theme Builder takes a long time to load and after some time shows an unknown error.
  2. The visual builder loads only on the home page.
  3. Visual builder does not load on other pages.

If you also have a problem with the Divi theme on Nginx, this article will surely help you.

Author, Ivan Blagojević

Engineering Lead at Adriahost. I spend most of my time on Linux operating systems with cPanel/WHM panels.

I help people solve problems and choose the right hosting for their site.

I write here in my spare time.

Time4VPS - VPS hosting in Europe