Title: Fix for CORS issue
Last modified: March 19, 2019

---

# Fix for CORS issue

 *  Resolved [harlanlandes](https://wordpress.org/support/users/harlanlandes/)
 * (@harlanlandes)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fix-for-cors-issue/)
 * I was having problems using Elementor to edit domain-mapped pages … and the standard
   CORS fix did not work for me.
 * I made a small edit to the plugin to fix the issue without the need to change
   server settings, which has the benefit of not reducing the security of the website…
 * In function falke_mdm_replace_landingurl, wrap the foreach with `if is_admin(){...}`
 * That way the plugin only tries to change the URL of a domain-mapped page if the
   function is being called from the front-end. That may not be the best way to 
   accomplish that, but it does make sense to me. I would love to see this change,
   or something similar, in the next version of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fix-for-cors-issue/#post-11328825)
 * hy,
 * thank you for the hint – we will definitely have a look at it when we release
   the next version (which may be sooner than we have thought) 😉
 * matt
 *  [studioosiris](https://wordpress.org/support/users/studioosiris/)
 * (@studioosiris)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fix-for-cors-issue/#post-11403730)
 * Hi,
    I have hosting and use elementor and cannot edit apache seetings. Can You
   fix this issue for displaying fonts?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fix for CORS issue’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain-mapping-on-single-site/assets/icon-256x256.
   png?rev=1595238)
 * [Multiple Domain Mapping on Single Site](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [studioosiris](https://wordpress.org/support/users/studioosiris/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/fix-for-cors-issue/#post-11403730)
 * Status: resolved