Cross-Origin problem with Elementor editor
-
I am using the “Multiple Domain Mapping on Single Site” plugin in combination with Elementor. When I try to edit a page that is mapped to a secondary domain name using Elementor, the page will not load.
With the new version of Elementor, I am presented with the option of loading the editor in “Safe Mode,” but Safe Mode disables access to some blocks that are provided by a plugin, and those blocks disappear.
The Elementor system log presents this error:
JS: 2019-01-14 19:40:45 [error X 15][https://plutusfoundation.org/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.4.0:2:82375] Blocked a frame with origin \”https://plutusfoundation.org\” from accessing a cross-origin frame.
(My main website is https://plutusfoundation.org, and one of the pages is mapped to be https://www.plutusawards.com)
I have added these headers to plutusawards.com:
Header always append X-Frame-Options “allow-from https://www.plutusawards.com”
Header always append Access-Control-Allow-Origin “https://www.plutusawards.com”And I’ve added the reverse headers to plutusfoundation.org just in case.
I still receive the same errors, and Elementor doesn’t load without being in safe mode.
The outcome I would like is to be able to edit pages/posts with alternate domain names mapped using full Elementor features.
This may be of assistance:
https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame
The topic ‘Cross-Origin problem with Elementor editor’ is closed to new replies.