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.

Tagged: 

This topic contains 12 replies, has 3 voices.

Last updated by Shekhar Bhandari 1 year, 11 months ago.

Assisted by: Bigul.

Author Posts
May 14, 2023 at 2:18 pm #13643343

nicholasK-6

I have 3 languages for my website and i want each language to go to a different domain. One goes to .PT, one goes to .ES (no translation available for spanish yet) and the .EU goes to english. The DNS are all working well, however this what happens:

kilford.pt > goes to portuguese version / hidden link > goes to portuguese version ✅

kilford.eu > goes to english version / hidden link > goes to portuguese version ❌

kilford.es > goes to english version / hidden link > goes to portuguese version ❌

Can't figure out how to get around this.

Hope you can help.

Nicholas

13638247-Config_WPML_3.jpg
May 14, 2023 at 3:05 pm #13643487

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Nicholas,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Hope you are following the steps described in this documentation - https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

Also please try the following steps to verify all three domains have the correct & same DNS settings.

1) Create a text file(for example WPMLTest.txt)
2) Upload it to the root directory of hidden link
3) Then make sure you can access the file from all three domains like the following

hidden link

hidden link

hidden link

--
Thanks!

Bigul

May 16, 2023 at 1:26 pm #13656803

nicholasK-6

Hi Bigul,

Thanks for your reply.

I have followed the instructions but can't add a parked domain to DNS registrar. My website is really wonky with the domains not working properly. With "www.kilford.pt" it goes to english version but if I use hidden link it also goes to this version. It's too much of a pain in the neck and i don't have time to be messing around with the software all day.

I will be requesting a refund later today or tomorrow since this solution isn't working for me.

Thanks for your help anyway.
Nick

May 16, 2023 at 1:59 pm #13657039

nicholasK-6

Bigul,

I asked the webdesigner to place the test files as you requested in the root folder and they all work fine.

I am using godaddy for the .eu and .es and the A record is pointing to the right place. I only have 1 A record.

It's just so frustrating when i seem to be doing everything right but still doesn't work!

Can i give you access to my website to solve the problem?

Thanks
Nick

May 16, 2023 at 5:03 pm #13658729

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Nick,

Thank you for the feedback. We will do our best to help you. Please fill the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

May 17, 2023 at 4:35 pm #13666555

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Nick,

Thank you for the details and login information. A couple of requests for tracking this.

a) Please share a screencast for a better understanding of the redirection you are having. I am not able to reproduce it exactly.

b) Please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the issue without affecting your live site.

--
Thanks!

Bigul

May 18, 2023 at 11:19 am #13671267

nicholasK-6

Hi Bigul,

Thanks for getting back.

I have talked to the designer and she has figured out why the redirection is happenning. It's only on the "order prints" button because she said something about it being an "absolute link" but she will later change to relative (or something like that). So this doesn't seem to be a WPML issue.

So i suppose i wont need to do the screencast, right?!

But what is happenning is if i am logged in and i navigate to kilford.pt the portuguese version will show which is good. If i type in kilford.eu the english version will show (even if logged out) which is also good. The kilford.es (spanish that doesn't exist yet) redirects to kilford.eu (maybe this is because there are no translated pages yet?!). However when i sign out, kilford.pt will show the english version, not the portuguese version. This is puzzling.

Also, on the "Printing" page our prices table has disappeared twice. Our designer put the table online again but it was not visible if not logged in. I made some basic price edits to the table and after a while it disappeared altogether. this was the second time it happened.

b) yes please go ahead and use the Duplicator plugin.

Thanks
Nicholas

May 19, 2023 at 8:01 am #13676427

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Nick,

Thank you for the details. Maybe you are facing issues because of the older version of the theme and plugins. Please check the attached images.

So please try the following steps after a full site backup{mandatory} and make sure the issue is existing or not.

1) Upgrade to the latest version of the theme
2) Upgrade to the latest version of plugins
3) Clear all types of caches, including server-side caches
4) Visit Settings>>Permalinks and resave the settings

--
Thanks!

Bigul

2023-05-19_13-28-21.png
2023-05-19_13-27-21.png
May 22, 2023 at 10:09 am #13688283

nicholasK-6

Hi Bigul,

I think the situation of the redirections with and without the "www" has been resolved by a programmer friend of mine who happens to be our webhosting service too. He managed to fix the problem by editing the htaccess file and applying some rules to it. It's a bit too technical for me but that's what i understood from the conversation. Also, the domains are now going to the respective languages.

There still seems to be a couple of issues though that i'm unsure if they have been solved with this htaccess edit, they are:

1) most, if not all BUTTONS on the website will redirect to the .pt version irrespective of which domain i am navigating on. Of course this is ok for the portuguese version but obviously not for the .eu and .es versions.
I did state in the last message that our designer could solve this but she has now came to the conclusion that maybe she can't, at least not so easily as she previously thought.

2) As i said in previous message, the price table on the PRINTING page has disappeared (2 times already) and we can't figure out why this is happenning.

We have just updated all plugins.

Please let me know if you can help.
Thanks
Nicholas

May 22, 2023 at 4:41 pm #13692909

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Nicholas,

Thank you for the details. Happy to know you are getting better results after the changes from the hosting team.

The other two issues you are facing now look like a different ones from this topic. Therefore I have a request. Please let us know the exact steps to reproduce the issue on your site. It will be great if you can share a couple of screenshots or screencasts for a better understanding. It will help us a lot in debugging.

--
Thanks!

Bigul

May 23, 2023 at 3:35 pm #13701143

nicholasK-6

Hi Bigul,

Looks like everyday something else goes wrong.

Yesterday i updated all plugins as you requested and everything was working fine. Today I get to work and open my website and only the Homepage of the PT version is messed up. For some reason this got fixed spontaneously. But now the homepage from the .EU version is messed up. Please note that it is the only page that is messed up. All others are fine.

Anyway here are some screenshots of the:
a) redirect when clicking ORDER PRINTS button, this also happens on all buttons throughout the pages.
b) screenshot of the messed up Homepage of .EU

I can't replicate the disappearing table since it's... disappeared.

Thanks
Nicholas

b_homepage EU.jpg
a_step 2 destination.jpg
a_redirect step 1.jpg
May 23, 2023 at 4:44 pm #13701791

nicholasK-6

Bigul,

Quick update. I managed to solve problem b) so please disregrad this in my previous message.
Problem a) is still happening though.

Thanks

May 24, 2023 at 5:29 am #13704039

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi Nicholas,

Bigul is unavailable for a few days due to personal issues; in the meantime, I will continue to help you with the problem; I hope that's okay.

I checked the order prints issues, and I noticed that it's added using the elementor template
- hidden link
- hidden link

Upon checking, I figured out that it's not translated to secondary languages; I suggest you translate it to secondary languages to fix the link issues.

You can find detailed instructions about how to translate the elementor templates here: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

Since this is a different issue than the one posted here in the first place, I suggest you open a new chat or ticket if the above solution doesn't help.

Thanks