help center

On this page

SiteGround hosting compatibility

Last Update: February 20, 2024

Issue

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

Solutions

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>
SubstituteMaxLineLength10M
</IfModule>

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, http://www.w3.org/2000/xmlns/ should not be changed to https://www.w3.org/2000/xmlns/ because it’s not a link, it’s a name.

Error that is displayed:

DOMException: Failed to execute ‘setAttributeNS’ on ‘Element’: ‘https://www.w3.org/2000/xmlns/’ 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