Skip Navigation

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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 2 replies, has 0 voices.

Last updated by Kor 52 minutes ago.

Assisted by: Kor.

Author Posts
December 30, 2024 at 11:39 pm #16554713

monal-4

Background of the issue:
I am trying to set up my translated site to use a different domain than the original language site. I have read the advice on how to do this and contacted my web host, simply.com, for assistance with DNS and IP configurations. I have already purchased the domain I want to use for the translation from the same host. Sites are hidden link and hidden link

Symptoms:
The web host does not know how to solve the issue. They initially suggested buying the domain, which I have already done, and then advised redirecting the Danish site to the English domain, which I do not want to do as it would result in losing the original site language.

Questions:
How can I set up my translated site to use a different domain without losing the original site language?
What are the correct steps to configure DNS and IP for using different domains per language with WPML?

December 31, 2024 at 6:43 am #16555010

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

You can read more about it here https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/ . As mentioned, you need to point both domains to the IP address of your WordPress installation.

Then, to check if it's working correctly, simply visit your new domains or subdomains. They should all show the same site without a redirection.

For example, if you have the domains “hidden link and “hidden link (and WPML is deactivated) you should see the same content when you visit any of these domains.

January 3, 2025 at 10:39 am #16560871

monal-4

It is a big problem, I have been working on this for many hours

I think I and my host did everything right

We made a dns-service on hidden link

On hidden link I made an alias - hidden link

My host-supporter set up the dns to point on hidden link

problem one:

Still I cannot set the english translation to be on peacecitycopenhagen.dk

when i write peacecitycopenhagen in the adress field in the browser, I am redirected to fredsbykobenhavn.dk - the mainsite in Danish

In an attempt to make it work, I deleted all plugins from fredsbykobenhavn.dk and reinstalled. I changed the password for it in wpml, Nothing changed.

problem 2 now
Finally I tried to get the translating to the same site fredsbykobenhavn.dk - by using fredsbykobenhavn.dk/en -

The content is translated, but does not show up on the site

But maybe this problem has something to do with the first. I would be very happy if you can help me, to get the translation into hidden link

kind regards Mona

January 3, 2025 at 2:39 pm #16561703

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Before we proceed further, could you please check with your domain provider regarding SSL issue here hidden link as shown in the attached screenshot. Once you've fixed that, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to your Website where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

January 3, 2025 at 3:43 pm #16561923

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Sorry, I left out the screenshot. Yes, please resolve the SSL issue as shown in the attached screenshot.

Also, WPML will not allow you to use "A different domain per language" if it's showing "Not Valid".

Screenshot_137.jpg
Screenshot_139.jpg
January 3, 2025 at 7:03 pm #16562462

monal-4

I have changed and checked it out in google incognito - it is safe now

But still saying the adress is not valid

If i give you the codes to my host set up by simply.com - maybe you can see the problem

Is it still private I am writing? otherwise it is my mail-adress and the same password on all sites for now.

I better explain the process -

First I had a webhotel: hidden link

To get this as a domain-alias the supporter in Simply adviced me to change to only dns-service, and so I did.

then the supporter attempted to help by make some settings - and i got redirection to peacecitycopyenhagen.dk, somehow. I think the ssl-certificate for peacecitycopenhagen.dk was set from fredsbykobenhavn.dk - and that is why it was not safe in the peacecity-domaine.

Right now i have upgraded back to a webhotel for peacecitycopenhagen.dk to get its own certificate.

I have succeded into make peacecitycopenhagen.dk safe and changed to the right url in wp in both of the domaines

When I write peacecitycopenhagen I am still redirected to Fredsbykobenhavn.dk
fredsbykobenhavn.dk still says the domain is not valid

kind regards Mona

January 3, 2025 at 7:07 pm #16562465

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

May I know why this domain hidden link is showing different content? It should show the same content as this domain hidden link .

January 3, 2025 at 7:10 pm #16562466

monal-4

yes you may know 🙂 -

I just changed right now to a hosted domaine again,

and actually I didn't know I have to copy it over by myself

If that is the case, we must continue tomorrow or the day after tomorrow 🙂

January 3, 2025 at 7:45 pm #16562510

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Alright then, let me know how it goes.

January 3, 2025 at 7:53 pm #16562514

monal-4

yes I will let you know 🙂

January 4, 2025 at 2:12 pm #16563455

monal-4

An added problem now to the first one

somehow the language in the control panel hidden link had turned into English, but was showing Danish in the upper panel with wpml-flags

Then I turned the flag into english to see, if I then would get Danish

But no way: Instead I was redirected to hidden link

After trying a lot of things to get into the Danish control panel/site management situation now is

When i write the url for hidden link - I am redirected to hidden link

When I try to get into the site management in hidden link I am redirected to the site management of hidden link

What I have done in attemptions to make it work proberly

via my hoster admin - I deactivated all plugins on both sites with no result
then I made a new wpml-account to hidden link and uploaded the plugin. After this I was allowed to go in to the site management and plugins in hidden link - and change language here into Danish. But then I was no longer allowed to go into the peacecitycopenhagen.dk

Then I reloaded wpml to hidden link - and now I couldn't get into any of the sites becaused I was redirected to many times it said. Via Hoster admin I could delelte wpml in peacecitycopenhagen.dk - and so the sites redirecting ended up where they are now.

I have also tried to repair and optimize wp on both sites via my host admin

Life with the wpml translating to another site is a hell rigth now - sorry

January 4, 2025 at 3:38 pm #16563551

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Things are still not clear yet. Let's not touch this Website hidden link and it's loading fine for me as shown in the attached screenshot.

Next, we will focus on this domain name hidden link . When you open this link hidden link , it should display the same content as this one hidden link . This is what you need to fix for now.

Tell your domain provider that you need to point this URL hidden link to the IP address of this domain hidden link

Once you've done that, opening this link hidden link should display the same content as this link hidden link

Let me know when this is fixed and we'll continue further.

Screenshot_144.jpg