Elegant Themes Visual Builder No Worky on NGINX Server

Written by James McDonald

June 9, 2017

Symptoms: 

You are running php-fpm and nginx You can enter the visual builder from the home page https://jamesmcdonald.id.au/?et_fb=1 but not from a another url such as https://jamesmcdonald.id.au/contact?et_fb=1

Problem:

The Divi Visual Builder uses ?et_b=1 query string to activate itself. You need to get nginx to pass that value to index.php

Resolution:

Just enter $is_args$query_string at the back of index.php

location  / {

            try_files $uri $uri/ /index.php$is_args$query_string;

     
        }

5 Comments

  1. Michael

    Great,
    i’ve searched for a solution for a long and this finally worked out.
    Thank you very much!!!

    Reply
  2. Martin

    Made my day. Thanks alot for sharing!

    Reply
    • James

      nginx is great because it is generally simpler and less resource intensive than Apache but if you don’t get the configuration right it can be annoying. Glad I can help

      Reply
  3. Drew

    “At the back of index page” what does that mean?

    Reply
    • James McDonald

      It would be more correct to say “immediately after the index.php with no spaces”

      The code block shows what is meant:

      /index.php$is_args$query_string;

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...