Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
February 2, 2024 at 2:53 am #15257391

davyA

2. I encounter an error message when attempting to add my second domain for Spanish translation (cbdmivida.com). Both domains are hosted and pointed to the same hosting.

February 2, 2024 at 3:00 am #15257392

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Davy,

Here is the second ticket.

Can you please share a screenshot of the error message? For now, I see the domain "cbdmivida.com" doesn't display the same content as the domain "cbdmylife.com".

Before using the feature "A different domain per language" in WPML > Languages > Language URL Format, please ensure both domains point to the same site and display the same content without redirection.

Refer documentation https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#testing-if-the-domains-are-set-properly

Look forward to your reply.
Thanks

CBD My Life - Lab-Tested 100% CBD Hemp Products for Pure Wellness 2024-02-02 09-56-10.jpg
Under construction - Awesome site in the making! 2024-02-02 09-55-58.png
February 2, 2024 at 5:18 am #15257692

davyA

I've attached the screenshot of the error message I'm receiving: "Not valid". Both domains are pointing to the same site; cbdmivida.com is added as a parked domain to cbdmylife.com.

Screenshot 2024-02-01 at 11.14.30 PM.png
February 2, 2024 at 6:46 am #15257901

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Now I see the domain "cbdmivida.com" is redirected to "cbdmylife.com". As I mentioned above, before using the feature "A different domain per language" in WPML > Languages > Language URL Format, please ensure both domains point to the same site and display the same content without redirection.

That means when you deactivate WPML, visit "cbdmivida.com", you will see the same content as when you visit "cbdmylife.com", no redirection.

Then you can enable WPML and activate the option "A different domain per language". You can also uncheck "Validate on save" and see the result in the frontend, sometimes the validation doesn't work correctly.

Look forward to your reply.
Thanks

Redirect Checker | Check your Statuscode 301 vs 302 2024-02-02 13-41-42.jpg
February 2, 2024 at 8:00 pm #15261056

davyA

I understand. How can I configure two domains to display the same website content without redirection? Is creating a multisite the recommended approach? I'm a bit confused, and the WPML documentation isn't providing enough guidance on how to proceed.

February 5, 2024 at 2:14 am #15264153

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

You should setup the DNS for the second domain to point to the same site/hosting IP. Just like you do for the first domain. Simply, imagine that we can access your site with two (or more) domains before using WPML:
hidden link
hidden link
hidden link

You can read more here hidden link
or contact your hosting/domain provider support and ask for help with setting up second domain.

Is creating a multisite the recommended approach?
No need to use a multisite, just a single site.

Look forward to your reply.
Thanks

The topic ‘[Closed] I encounter an error message when attempting to add my second domain for Spanish translation’ is closed to new replies.