Why Has Elementor Stopped Working with WP Ghost Safe or Ghost Mode?
This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.
Elementor relies on the REST API, admin-ajax.php, and the wp-admin path to load its editor. When WP Ghost changes these paths in Safe Mode or Ghost Mode, Elementor may lose access to them if your server configuration, cache, or other settings are not updated to match. Here is how to fix it step by step.
Check Your Server Type (Nginx Users)
If your server runs Nginx, path changes require a manual update to the Nginx configuration file. Apache servers handle this automatically through .htaccess, but Nginx does not read .htaccess rules. Without updating the Nginx config, the server does not know how to route requests to the new paths, and Elementor’s editor will fail to load.
Follow the instructions in the Setup WP Ghost on Nginx Server tutorial to add the required rewrite rules. After saving the config, restart Nginx with sudo systemctl restart nginx and test the Elementor editor again.
Restore the Default Admin Path
Some hosting environments do not support custom wp-admin paths. If your host restricts admin path changes, Elementor cannot reach the editor because it loads through the wp-admin directory. Go to WP Ghost > Change Paths > Admin Security and restore the original wp-admin path. Save the settings and test Elementor. For more details, see the Change and Hide wp-admin Path tutorial.
Clear Cache After Changing the REST API Path
Elementor depends heavily on the WordPress REST API (wp-json) for saving and loading page content. If you changed the REST API path in WP Ghost but your cache or CDN still serves the old path, Elementor will send requests to URLs that no longer exist. Clear all cache layers: your WordPress caching plugin, server-side cache, and CDN. Then log out and log back in to refresh your session. If the problem persists, try restoring the default wp-json path from WP Ghost > Change Paths > API Security and resaving your permalinks under Settings > Permalinks. See the Change REST API Path tutorial for the full walkthrough.
Restore the Default admin-ajax.php Path
Elementor uses AJAX calls for many of its editor functions. If you changed the admin-ajax.php path and your server or certain plugins are not designed to work with a custom AJAX path, those calls will fail silently. Go to WP Ghost > Change Paths > Ajax Security and set the AJAX path back to the default admin-ajax.php. Save and test the Elementor editor. You can read more in the Change admin-ajax.php Path tutorial.
Disable Change Paths for Logged Users
WP Ghost has an option to apply path changes even when you are logged into the dashboard. This can interfere with Elementor’s editor because the editor loads admin resources using the original paths internally. Go to WP Ghost > Tweaks > Change Options and switch off Change Paths for Logged Users. Save and test the editor again. This way, WP Ghost still hides all paths from visitors and bots, but your admin experience (including Elementor) uses the original paths. See the Security Tweaks tutorial for details.
Still Not Working?
If none of the steps above resolve the issue, check your server error logs for specific 404 or 500 errors. Log out and log back in to refresh your session cookies (especially after changing the admin path). You can also test Elementor’s own Safe Mode by going to Elementor > Tools > Safe Mode, which loads Elementor without any theme or plugin interference. If Elementor works in its own Safe Mode but not normally, the issue is a conflict with another plugin, not WP Ghost specifically.
If you have completely lost access to your site, use the emergency disable method to restore defaults and regain access.
Frequently Asked Questions
Is WP Ghost compatible with Elementor?
Yes. WP Ghost is fully compatible with Elementor. The “Safe Mode + Firewall + Compatibility” preset in WP Ghost includes settings specifically tested with Elementor and other popular page builders. Most users run both without any issues. The troubleshooting steps above cover the edge cases where server configuration or caching requires adjustment.
Which WP Ghost preset is best for sites using Elementor?
The “Safe Mode + Firewall + Compatibility” preset is the recommended starting point. It applies balanced path changes with compatibility settings tested against Elementor, WooCommerce, and popular caching plugins. You can load it from WP Ghost > Change Paths. See the Preset Security Options tutorial for all four presets.
Can I hide plugin paths and still use Elementor?
Yes. WP Ghost renames plugin directories using random codes, so “elementor” in your page source becomes something like “p3x9k.” The Elementor editor and all front-end functionality continue working normally because WP Ghost transparently routes requests from the new paths to the original files. For details, see the Change Plugins Path and Hide Plugin Names tutorial.
Do I need to clear cache every time I change a path?
Yes. Always clear all cache layers (WordPress cache plugin, server cache, CDN, and browser cache) after changing any path in WP Ghost. Cached pages and scripts still reference the old paths until the cache is purged, which causes broken requests and editor failures.
Does WP Ghost modify WordPress core files?
No. WP Ghost uses rewrite rules and WordPress filters to change paths at runtime. No core files, plugin files, or Elementor files are modified. Deactivating WP Ghost or loading the Default preset restores all original paths instantly.