Background of the issue:
I have followed the documentation for different domain settings for each language. I use WordPress.com Business Plan hosting. I am trying to set up the main Indonesian language on gizmologi.id and English on gizmologi.com for translation.
Symptoms:
When validation is active, it doesn't work and always redirects to gizmologi.id.
Questions:
is there any setting missed or wrong? how to fix it?
While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.
Please disable WPML plugins and make sure both domains work fine and open. It should open both domains, not redirect, and show your homepage. If it is not like that, then your domain configuration is not correct and you need to adjust it.
If it works like that, and you still have issues when activating WPML, let us know.
From your response, I have also submitted a question to the WordPress.com team, here is the answer:
"It sounds like you’re trying to set up a different domain—like gizmologi.com—for a second language on your main site: gizmologi.id, using the WPML plugin. But whenever you try to access the .com version through WPML, it keeps redirecting you back to the .id domain. Is that right?
First off, I’m not entirely sure about the WPML configuration since it’s a third-party plugin, and we don’t have full visibility into how it works.
However, based on the message they shared, it sounds like the issue is related to redirection. Just so you know, any non-primary domain will automatically redirect to your primary domain. In your case, your primary domain is gizmologi.id—so when you visit the .com version, it redirects to the .id domain.
If you’re looking to set up a separate site with a different domain for translation purposes, you’d need to create a new site using that domain. You can do that from here: hidden link
Just a heads-up: one plan is valid for one site only. So you’ll need to purchase a new hosting plan and create a separate site for each domain."
So.... This means that additional domains in WordPress.com will become redirects, and cannot be set to parking domains as required by WPML
I am sorry, but if your hosting can't point two domains (or sub-domains) to the same installation, then a different domain per language won't work. You'll need to use directories or language added as a parameter. Or use a hosting that allows that setup: https://wpml.org/hosting-partner/
Best Regards,
Otto
The topic ‘[Closed] A different domain per language not work’ is closed to new replies.