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.
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.
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.
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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.