Help Center Boost Performance Troubleshooting Preview could not be loaded error

Preview could not be loaded error

Last Update: August 20, 2026

The “Preview Could Not Be Loaded” error occurs when the Elementor editor is blocked from rendering its live preview window. You can usually fix it in a few quick steps: enable Safe Mode under WP Admin > Elementor > Tools > General, raise your PHP memory limit to 512M in wp-config.php, re-save your settings in Settings > Permalinks, or disable Cloudflare Rocket Loader.

Why is the Elementor preview window not loading?

Preview Could Not Be Loaded Error 1

When this error appears, the Elementor editor cannot render the front-end preview canvas. The underlying causes include:

  • Low PHP Memory Limit: The web server runs out of RAM when loading the Elementor editor alongside active WordPress plugins.
  • Plugin or Theme Conflicts: Third-party plugins or active themes generate JavaScript errors that stop the Elementor editor canvas from loading.
  • Corrupted Permalinks: Out-of-sync WordPress rewrite rules or a damaged .htaccess file prevent the Elementor editor from reaching the page path.
  • Server Firewalls: Hosting security rules (mod_security), invalid file permissions, or password-protected directories block WordPress admin requests.
  • Cloudflare Rocket Loader: Cloudflare JavaScript optimizations change the script execution order required by Elementor.
  • Leftover index.html File: A static index.html file in the public_html root directory overrides the main WordPress index.php file.

How do I use Safe Mode to isolate plugin conflicts?

Safe Mode isolates troubleshooting by loading the Elementor editor without active theme styles or third-party plugin scripts during your editing session. Live site visitors see no visual changes.

  1. Navigate to WP Admin > Elementor > Tools > General.
  2. Locate the Safe Mode setting and change the selection to Enable.
    Elementor Safe Mode Setting - WordPress admin dashboard display showing Elementor Tools General tab with Safe Mode dropdown toggle set to Enable
  3. Click the Save Changes button.
  4. Re-open the page in Elementor to check if it loads.

If the editor loads in Safe Mode: An active plugin or theme is causing the conflict.
If the editor fails in Safe Mode: The conflict stems from server configurations, memory limits, or permalink structures.

How do I identify conflicting plugins or themes?

When Safe Mode resolves the editing conflict, follow these steps to locate the specific plugin causing the issue:

Warning
Always create a full backup of your website before deactivating plugins or switching themes.

  • Elementor Host Users: Create an instant manual backup from your My Elementor dashboard before troubleshooting. Learn more in Manage your backups in Elementor Hosting.
  • Other Hosting Providers: Use your host’s control panel (cPanel/cPanel Backup tool) or a backup plugin to save a full copy of your database and files.

What to do if a “Critical Error” occurs during troubleshooting:
If deactivating a plugin or theme triggers a critical error and locks you out of WP Admin:

  1. Connect to your server using FTP or your host’s File Manager.
  2. Navigate to the public_html/wp-content/plugins/ directory.
  3. Rename the folder of the plugin causing the conflict (or rename the entire plugins folder to plugins_old) to automatically force-deactivate it and regain access to WP Admin.
  4. Alternatively, use your host’s panel to restore the backup you created before troubleshooting.
  1. Navigate to WP Admin > Plugins > Installed Plugins.
  2. Select the checkbox for every active plugin except Elementor and Elementor Pro.
  3. Select Deactivate from the Bulk Actions dropdown menu and click the Apply button.
    WordPress Installed Plugins Bulk Deactivation - WP Admin installed plugins page with bulk actions menu set to deactivate non-Elementor plugins
  4. Re-open the page in the Elementor editor to confirm functionality.
  5. Reactivate plugins one by one – starting with performance tools like WP Rocket, LiteSpeed Cache, or Autoptimize – and reload the Elementor editor after each activation.
  6. Navigate to WP Admin > Appearance > Themes if plugins are not the cause, and temporarily activate a default theme such as Hello Elementor.

If the error reappears after activating a specific plugin or theme, you have identified the source of the conflict. Leave the plugin/theme deactivated and report the issue to its developer.

How do I increase the WordPress PHP memory limit?

Elementor requires a minimum of 256 MB of PHP memory, though 512 MB is recommended for complex WordPress websites.

  1. Connect to the web host server using an FTP client or hosting File Manager.
  2. Open the wp-config.php file located in the root public_html directory.
  3. Insert the following code line directly above the line reading
    /* That’s all, stop editing! Happy publishing. */:
    define( 'WP_MEMORY_LIMIT', '512M' );
    Editing wp-config.php PHP Memory Limit - Server File Manager showing wp-config.php code block edited with WP_MEMORY_LIMIT set to 512M
  4. Save the modifications to the wp-config.php file.
  5. Re-open the page in the Elementor editor.

How do I flush permalinks and rebuild the .htaccess file?

Corrupted permalink structures break communication between the Elementor editor and the web server.

Step 1: Flush WordPress Permalinks

  1. Navigate to WP Admin > Settings > Permalinks.
  2. Select the Plain radio button and click the Save Changes button.
    WordPress Permalinks Settings Panel - WP Admin Settings Permalinks page displaying Post name permalink structure selection

Step 2: Rebuild a Corrupted .htaccess File

  1. Open your web server File Manager (or FTP client) and go to the public_html folder.
  2. Delete the .htaccess file.
  3. Return to WP Admin > Settings > Permalinks and click Save Changes to automatically generate a clean .htaccess file.

If you’re an Elementor Host user, see Access the files of your Elementor Host site to learn about adding and deleting files from your site. If you’re not an Elementor Host user, consult you’re hosting company’s documentation.

How do I resolve Cloudflare Rocket Loader and index.html conflicts?

CDN optimizations and static root files can block Elementor editor scripts.

Steps to Disable Cloudflare Rocket Loader:

  1. Log into the Cloudflare Dashboard.
  2. Navigate to Speed > Optimization.
  3. Toggle Rocket Loader to Off.
  4. Clear your cache under Caching > Configuration > Purge Everything.

Elementor and Cloudflare generally integrate smoothly. However, if you encounter integration issues, especially with Cloudflare’s Rocket Loader feature, refer to our dedicated guide: Elementor And Cloudflare Rocket Loader

Steps to Remove Root index.html Overrides:

  1. Access the server public_html folder using an FTP client.
  2. Search for an index.html file in the root folder.
  3. Delete the index.html file so the server defaults to the WordPress index.php file.
    Preview Could Not Be Loaded Error 3

How do I fix HTTP 401, 403, and 500 server errors?

Server-level response errors prevent the Elementor preview window from rendering properly.
Browser Console HTTP Status Codes - Chrome Developer Tools console tab highlighting HTTP 403 Forbidden and 500 Internal Server Error logs

Press F12 on your keyboard to open browser developer tools, select the Console tab, and match red status codes to this lookup table:


HTTP Status Code
Root CauseActionable Resolution Path
401 UnauthorizedPassword protection is blocking access to admin folders.Disable .htpasswd directory authentication in your hosting control panel or security plugin.
403 ForbiddenServer firewalls (mod_security) or bad file permissions block access.Request your web host to whitelist Elementor requests in mod_security. Set directory permissions to 755 and file permissions to 644.
500 Internal Server ErrorThe server ran out of PHP memory or triggered a critical script error.Inspect server PHP error logs or add define('WP_DEBUG', true); to wp-config.php to locate the failing script.

For debugging a 500 Internal Server Error, please refer to our dedicated guide: I Get 500 Error While Using Elementor

Why can’t I edit WooCommerce or blog archive pages directly?

Clicking Edit with Elementor directly on dynamic archive pages – such as the main blog index or WooCommerce shop page – triggers a preview loading error.

  1. Navigate to WP Admin > Elementor > Theme Builder.
  2. Choose the template type you want to edit (such as Single Post, Products Archive, or Single Product).
  3. Edit the assigned template inside the Theme Builder.
    Elementor Theme Builder Template Editor - WP Admin Templates Theme Builder selection grid showing WooCommerce shop archive template

How do I test for browser extension conflicts?

Browser extensions – specifically ad blockers and privacy controls – can block required Elementor JavaScript files from running locally.

  1. Launch the Google Chrome browser.
  2. Click the three dots icon in the top right corner and select New Incognito Window.
  3. Log into WP Admin and open the target page in the Elementor editor.
  4. Disable extensions (such as uBlock Origin, Privacy Badger, or Brave Shields) individually in your primary browser if the preview loads correctly in Incognito mode.
  5. In the top corner, check for the Incognito icon showing that you are in incognito mode.

FAQ

Can low server memory cause the Elementor preview error?

Yes. If the server lacks sufficient PHP memory, Elementor cannot execute editor scripts alongside active WordPress plugins. Increasing the PHP memory limit to 512M in wp-config.php resolves memory starvation errors.

Will turning on Safe Mode break the website for visitors?

No. Safe Mode deactivates third-party plugins and theme code strictly within your personal editing session. Your live WordPress website remains completely unaffected for site visitors.

Can an index.html file break the Elementor editor?

Yes. If an index.html file exists in the root public_html directory, the web server prioritizes it over the WordPress index.php file, blocking Elementor editor routing.

Why does this error happen on the WooCommerce shop page?

The WooCommerce shop page is a dynamic archive page managed by WordPress core, so it cannot be edited like a standard static page. You must construct and edit shop layouts under WP Admin > Elementor > Theme Builder.

Have more questions?

Can’t find the answers you’re looking for? We’re more than happy to assist.

Contact support

Related Articles

On this page

Share this article