• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Gokul Deepak

Gokul Deepak

GoCool and Debug

  • Home
  • Terraform
  • WordPress
  • Android
  • How to
  • About Me

Wordpress plugin

Elementor Plugin and Nginx Configuration

June 17, 2020 by Gokul Deepak S 9 Comments

Error:

Permalinks for domain.com/post-name is working fine. All pages are working well and good. There was no other problem until I tried to edit a published page with Elementor.
The page isn’t loading and returns with the error
‘Preview Could Not Be Loaded’.

Search Hunt:

Elementor document asked me to try with safe mode. Even in safe mode, it is not working.
Finally, I have found another page asking me to make changes in .htaccess
As I’m using Nginx I have made this change into Nginx config file and it worked out.

Solution:

nginx config file location. It can be found in /etc/nginx/nginx.com or /etc/nginx/sites-available/domain.com.conf or /etc/nginx/conf.d/default.conf

sudo vi /etc/nginx/conf.d/default.conf

Find for the code

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

Replace the above with

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

save the configuration by pressing escape key and :wq

sudo systemctl restart nginx

In your WordPress admin panel of website go to Settings-> Permalinks

Change it to Plain and save. Again Change it to Post name and save.

Elementor Plugin and Nginx Configuration would work perfectly now.

Filed Under: Nginx Tagged With: Elementor, Wordpress plugin

Primary Sidebar

Popular Pages

  • Home
  • Important Docker Commands to remember
  • Terraform Cheat sheet
  • Learn with Gokul
  • CORS error in Apache Tomcat - Solved
  • Runcloud vs SiteGround Comparision
  • Strategy to prepare for Terraform Associate Exam Preparation
  • How to find the date of the Facebook group it was created
  • How to remove Linux OS in Tamilnadu Government Free Laptop
  • Running crontab on AWS auto scaling group

Archives

Categories

  • Android
  • Apache
  • AWS
  • Blogger
  • Computer Tips
  • DevOps
  • Docker
  • Earn
  • Facebook Tips
  • Git
  • Google Tips
  • Hosting
  • How to
  • Laptop Tips
  • Laptops
  • Linux
  • Mobile
  • MongoDB
  • Nginx
  • Node JS
  • Notepad++
  • PostgresQL
  • Terraform
  • Ubuntu
  • Wordpress
  • Xenforo

Tags

Android Android One AWS Bluehost Comparisions Custom ROM Elementor Facebook Genesis Genesis Sample Theme Google Drive How to Lineage OS Notes OnePlus One OwnCloud Rooting Smartphones Stock ROM Studiopress Tomcat Wordpress plugin

Copyright © 2025 ยท Maintained by GokulDeepak