Background of the issue:
I am in the process of translating pages from Norwegian to Swedish using WPML. I click the "+" in the page list, which takes me to the translation page (e.ate.wpml.org) where the content is auto-translated. After clicking "Complete Translation," it takes me back to the page list, and the page is successfully translated. I am using a setup with a different domain for each language, klimabefuktning.no and klimabefuktning.se. I also added a filter to prevent the second domain from redirecting back to the main domain: add_filter('redirect_canonical', 'allow_localized_secondary_domains', 10, 2); function allow_localized_secondary_domains($redirect_url, $requested_url) { $allowed_domains = ['klimabefuktning.se']; $requested_host = parse_url($requested_url, PHP_URL_HOST); if (in_array($requested_host, $allowed_domains)) { return false; } return $redirect_url; } Link to a page where the issue can be seen: 隐藏链接
Symptoms:
The "arrow wheel" never stops spinning after translation. I also get some 404 errors (see attachment). When I reload the page, the "pen" icon is shown.
Questions:
Why does the arrow wheel never stop spinning after translation?
How can I resolve the 404 errors encountered during translation?
主题 “[關閉] Arrow wheel doesn't stop spinning after translation” 已关闭,不接受新回复。