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.

This topic contains 3 replies, has 2 voices.

Last updated by Mihai Apetrei 4 months, 2 weeks ago.

Assigned support staff: Mihai Apetrei.

Author Posts
June 5, 2019 at 9:33 am #3958497

Karsten Henrich

Our goal is to use 2 different top domain levels for 2 languages: .com for german (exists), .nl for dutch language. We host the domains and the website installation in different accounts and server. Both domains have an A-Record pointing to the IP address of the hosting server of the website. The server runs Plesk, and a normal domain is set up for the german .com version of the website, which is the main domain. We tried to set up for the second .nl domain a domain alias, unfortunately it is not working properly, it simply shows the com version of the website. WPML also show an error if we try to set the .nl top domain.

We tried to follow the instructions found here, without success:
https://wpml.org/2016/04/use-wpml-different-domains-per-language/

This example is similar, however we can't see the solution:
https://wpml.org/forums/topic/multi-domain-in-plesk/

The website is hidden link

June 5, 2019 at 3:44 pm #3962487

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

The documentation here indeed is the one that needs to be followed for using the domain per language functionality:
https://wpml.org/2016/04/use-wpml-different-domains-per-language/

However, unfortunately, it is not possible to use the domain per language option with 2 separate site setups. So you would have to pick one of the domains and then install WPML on it and translate it into the other language.

Example:

If you want to keep using the .com as the main site setup (German), then you would have to install WPML over and translate it into Dutch.

After that, as is noted in the documentation, you would need to make sure the .nl domain is sending to the main site server.

I hope that you will find this information helpful.

Here is some other useful documentation:
https://wordpress.org/support/article/multilingual-wordpress/

Also, please let me know if you have any more questions regarding this topic.

I will be waiting for your response.

Kind regards,
Mihai Apetrei

June 6, 2019 at 9:00 am #3967239

Karsten Henrich

I think you misunderstand our Problem a little bit, maybe my description was not clear enough. Sorry for that.

We only have one WordPress installed on the Server, and this is set up for German language and .com domain. It works perfectly.

As a second step we installed WPML Plugin and created an A-Record forwarding of .nl domain to the same server and webspace. That is done of course for Dutch language. Now as both .com and .nl domains point to the same Server we tried to follow the instructions described here: https://wpml.org/2016/04/use-wpml-different-domains-per-language/

Unfortunately on the contrary to cPanel in Plesk there is no such option as 'parked' or 'addon domain'. Alternatively to 'addon domain', you can add 'domain alias' in Plesk to handle the requests for the second domain, in our case .nl. Unfortunately it is not working properly, as you can see there is an error message on the screenshot. We also tried to add manually Apache and Nginx settings as described:
Apache
DocumentRoot "/var/www/www.example.com/webroot"
ServerName example.com
ServerAlias example.de
...
Nginx
server {
server_name example.com;
...
}

server {
server_name example.de;
...
This resulted to similar error as before.

What we need is a step-by-step description about all the activities/setting we require to perform in Plesk, similar to your cPanel description.

June 6, 2019 at 5:19 pm #3971179

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for the explanation.

It seems that you are experiencing the same issue as this other client:
https://wpml.org/forums/topic/different-domain-per-language-with-plsek/

Unfortunately, we don't have a tutorial on setting the domain-per-language functionality in Plesk and I am not familiar with the Plesk settings but I suggest that you get in touch with the Plesk support team and also share with them the documentation link that you already checked.

Please let me know what you are able to find out and if they offer you any solution for this.

If that will happen, will you be kind enough to share the solution here, too? I am sure that will be very helpful for people who need help with the same setup on Plesk.

Thank you for your understanding and I will be waiting for your response.

Kind regards,
Mihai