502 Error When I Try to Edit with Elementor

If you get a 502 error when you try to edit with Elementor you have to do two things:

Go to  Elementor > Settings > Advanced, and under ‘Editor Loader’, enable ‘Switch front-end editor loader method’.

This setting changes the Elementor editor loader method.


If you’re using the Elementor plugin, you then may need to increase a particular Apache service limit. To do that, add the following lines inside the website’s .htaccess file:

<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>

You can edit that file via SSH, FTP, or the File Manager tool in cPanel.

Share it on social networks

Was this article helpful?

Get Started With Elementor Today

Join millions of professionals who use Elementor to build WordPress websites faster and better than ever before

On this page