in9ti
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Ally - Web Accessibility & Usability] WPML CompatibilitySolution for Ally/Elementor + WPML using subdomain per language
Hey folks! I went through this exact problem: the Ally accessibility widget (Elementor) worked fine on my main site in Portuguese, but didn’t show up on the English version under
/en/using WPML.After a lot of trial and error, here’s how I fixed it:
- Set WPML to use “different domain per language”
In WPML, under Languages, I switched to using a different domain for each language:
- Portuguese:
in9ti.com - English:
en.in9ti.com
- Created the subdomain in my DNS and pointed it to the same server
I createden.in9ti.comin my DNS and pointed it to the same IP as the main site. - Updated my hosting panel (I use CloudPanel, but this works elsewhere too)
I edited the Nginx Vhost config to add the subdomain as aserver_namealongside the main domain: nginxCopiarEditarserver_name in9ti.com www.in9ti.com en.in9ti.com;
Now, both the main and the subdomain open the same WordPress install.
- Added both domains in the Ally/Elementor dashboard
On the Ally dashboard, I registered both domains so the widget is active on both. - That’s it!
Now the accessibility widget shows up and works great on both the Portuguese and English sites!
Hope this helps someone else stuck with this issue.
- Set WPML to use “different domain per language”
Viewing 1 replies (of 1 total)