F
fmaz
New Member
I use Polylang with subdomains for each language.
Everything work great, except for elementor being unable to load the page the page being accessed through a subdomain, for example fr.example.com/contactez-moi .
I have read in the documentation that when we see the following error, we should ensure X-Frame-Options on the hosting is set to SAMEORIGIN:
So I went in my PLESK panel, under the main domain, under Apache & nginx Settings, I selected to enter custom values for Additional headers:
In the textbox, I entered:
X-Frame-Options: SAMEORIGIN
I also tried (which is deprecated anyway):
X-Frame-Options: allow-from fr.example.com
... but it does not seem to have any effect on the error.
Anyone with a Plesk setup has found how to solve this issue ?
Edit:
Note that I now see this additional error:
Edit 2:
I have also tried to add the following to my .htaccess, but it did not solve the problem, as per the error from the edit just above:
Is Elementor able to manage pages that are published on wildcard subdomains ?
Everything work great, except for elementor being unable to load the page the page being accessed through a subdomain, for example fr.example.com/contactez-moi .
I have read in the documentation that when we see the following error, we should ensure X-Frame-Options on the hosting is set to SAMEORIGIN:
Uncaught DOMException: Permission denied to access property "elementorFrontend" on cross-origin object
So I went in my PLESK panel, under the main domain, under Apache & nginx Settings, I selected to enter custom values for Additional headers:
(_) Default
(X) Enter custom value
In the textbox, I entered:
X-Frame-Options: SAMEORIGIN
I also tried (which is deprecated anyway):
X-Frame-Options: allow-from fr.example.com
... but it does not seem to have any effect on the error.
Anyone with a Plesk setup has found how to solve this issue ?
Edit:
Note that I now see this additional error:
The loading of “https://fr.example.com/?elementor-preview=275&ver=1611516835” in a frame is denied by “X-Frame-Options“ directive set to “SAMEORIGIN“.
Edit 2:
I have also tried to add the following to my .htaccess, but it did not solve the problem, as per the error from the edit just above:
<IfModule mod_headers.c>
Header always set X-Frame-Options SAMEORIGIN
</IfModule>
Is Elementor able to manage pages that are published on wildcard subdomains ?
Last edited: