Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing issues with links not correctly directing to the translated versions of pages in a multilingual WordPress site. Specifically, links within a carousel were incorrectly leading from the Arabic version to the English pages, despite the pages being translated.
Solution:
We recommended translating the problematic links using the WPML String Translation tool. For links that could not be manually attached within the carousel, we suggested checking the website and adjusting the links directly. Additionally, for navigation menu links, we provided guidance on translating them through the WordPress navigation menu settings. If these steps do not resolve the issue, or if the solution becomes outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum for further assistance.

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 0 reply, has 0 voices.

Last updated by samC-26 1 year, 1 month ago.

Assisted by: Kor.

Author Posts
March 19, 2025 at 4:27 pm #16836523

Kor

Thanks for your reply. You can share the information below with your hosting provider.

PHPVersion : 8.0.30
MySQLVersion: 10.5.28
ServerSoftware :Apache-2.4.62 (Debian)

The site was migrated from hidden link using the Duplicator plugin.

March 20, 2025 at 12:14 pm #16839876

samC-26

Response from Hostinger:

Hey there,

I understand that it would be important to set up the Multilingual plugin to run properly. Although this would be outside of our scope, we can only suggest contacting the support for the plugin.

As from what I have found it seems like there is an issue with permalinks between AR and EN

The subpages are trying to load the site from EN to AR without permalinks:

As if you enable it in the main page, if you try going to English it will attempt a URL:
hidden link

As the /AR is breaking the changes for you. Either try removing the subpages would work without /AR or inspect if all URLs accept the /AR added to the site for you.

It would be best to have the homepage load with /AR or /EN, so it would not be empty always.

Thank you for understanding.

March 20, 2025 at 12:37 pm #16840001

Kor

Thanks for your reply. I've shared your feedback with our 2nd Tier Support. I will get back to you once I've feedback.

March 21, 2025 at 1:51 pm #16844825

samC-26

Hi Kor,

Can you please give me an urgent update on this?

March 21, 2025 at 2:14 pm #16845000

Kor

Thanks for your reply.

Sorry, I'm still waiting for a response from our 2nd Tier Support. I will get back to you once I've feedback.

March 24, 2025 at 11:59 am #16851630

samC-26

As staging isn't possible without replacing the main website, would duplicating the website with the exact same server settings also be a viable option?

March 24, 2025 at 4:08 pm #16853206

Kor

Thanks for getting back to me.

Yes, duplicating the site is fine. However, it should be hosted on your server. There's no need to replace the main website with the staging copy. Typically, hosting providers offer a simple way to clone a site to a separate staging domain. You can refer to this guide for more info: hidden link

March 25, 2025 at 1:52 pm #16858106

samC-26

I have instead used the staging method suggested using the plugin wpstaging. The login details are the same as before and the site is accessible via hidden link

Please get back to me urgently with your findings as I'm really suffering the consequences of this delay with the client.

Thanks,

Sam

March 25, 2025 at 2:01 pm #16858162

Kor

Thanks for cloning the site. I've shared the login credentials with our 2nd Tier Support. I will come back to you once I've feedback.

March 25, 2025 at 6:18 pm #16859464

Kor

Thanks for your patience. My apologies for the inconvenience. Our 2nd Tier Support broke the site while troubleshooting the issue. Could you please share FTP access here so that they can continue their investigation?

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

March 26, 2025 at 12:56 am #16860215

Kor

Thanks for your reply. FTP access is not working when I tested it. Could you recheck?

Screenshot_426.jpg
March 26, 2025 at 12:12 pm #16862659

samC-26

I've updated the password. Please try again:

$cDU40rSVHH0r4Yi

March 26, 2025 at 1:09 pm #16863003

Kor

Thanks for your reply. It's not the password issue. The hostname is not accessible as shown in the attached screenshot. Could you recheck your hosting configuration? You can follow the instructions here hidden link

Screenshot_433.jpg
March 26, 2025 at 1:33 pm #16863108

samC-26

FTP IP (hostname) hidden link

March 26, 2025 at 1:37 pm #16863122

Kor

Thanks for your reply. This works. Let me share this with our 2nd Tier Support. Thanks again for your patience.