help center

On this page

SiteGround hosting compatibility

Last Update: February 20, 2024


SiteGround users may get a 502 error or loading error while editing a page.


To resolve SiteGround compatibility issues, follow the below procedures in order.

Change the loader method

  1. Login to WP Admin.
  2. Go to Elementor > Settings > Advanced.
  3. Enable Switch Editor Loader Method.
    SiteGround hosting compatibility 2

Increase service limit

You also may need to increase a particular Apache service limit. Edit the .htaccess file using SSH, FTP, or the File Manager tool in cPanel and add the following lines.

<IfModule mod_substitute.c>

Enforce HTTPS

The SiteGround setting option Enforce HTTPS adds certain rules to the .htaccess file of WordPress. This alters certain default rules which causes loading issues in the editor.

To disable the enforce HTTPS option, follow these steps:

  1. Login to SiteGround dashboard.
  2. Go to Tools > Security > HTTPS Enforce
    SiteGround hosting compatibility 1
  3. For the required domain, toggle the HTTPS Enforce button to Off.

For example, should not be changed to because it’s not a link, it’s a name.

Error that is displayed:

DOMException: Failed to execute ‘setAttributeNS’ on ‘Element’: ‘’ is an invalid namespace for attributes.

For details on namespaces, refer Namespaces in XML.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article