Bad Request (400) when editing multilingual page
-
Hi!
I have some serious problems with elementor running on a multilingual page on subdomains.
My site is running on https://www.domain.de for german, en.domain.de for english and ja.domain.de for japanese.
I change wp_home and wp_base_url dynamicly. Which works create, except with Elementor.
If I want to edit content for a specific language, I have to use the subdomain for the language: e.g. english = https://en.domain.de/wp-admin/post.php?post=2801&action=elementor
This works for german and japanese sites, but for english sites I am getting an endless loading loop in the left sidebar caused by the admin-ajax.php .
Status 400 Bad Request Version HTTP/2 Referrer Policyno-referrer-when-downgrade
The left Elementor sidebar is a little bit greyed out and I see the loading circle the whole time…
Looking at the http headers, the problem seems to be that Elementor is using ‘www.domain.de’ as host for SOME requests (e.g. action “elementor_ajax” and “action “elementor_get_images_details”) by admin-ajax.php, but the origin is the subdomain ‘en.domain.de’. So the return is 400…
Some other requests by admin-ajax.php (the heartbeat) are correct with en.domain.de as host and origin. Return is 200 and works.
Is there a config value / filter / hook to change the host used by Elemtor?
Or is it saved in the database?And why is it working for ja.domain.de and https://www.domain.de? Thats strange, isn′t it? ??
Thanks in advance!
Andy
- The topic ‘Bad Request (400) when editing multilingual page’ is closed to new replies.