Skip Navigation

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

Problem:
The client was experiencing issues with their website's translation flags. Specifically, the French translation flag was not appearing, and the Spanish translation flag was incorrectly pointing to a backup page instead of the correct translation page. Additionally, the correct Spanish page was redirecting to an unwanted URL.
Solution:
We advised the client to first ensure that the incorrect Spanish page was not set as a translation of another page. This could be done by editing the page in the WordPress backend, selecting the 'Edit' option, and then disconnecting the page from any English page translations. After disconnecting, the client could set the correct Spanish translation link by following the steps in our documentation: https://wpml.org/faq/how-to-link-already-translated-pages/.
For the issue of the page redirecting to an unwanted URL, it was discovered that there were pages in the 'Trash' that were using the desired URL. Removing these pages from the trash resolved the issue.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, 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 9 replies, has 2 voices.

Last updated by Mihai Apetrei 3 months, 3 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
October 18, 2024 at 2:46 am #16302451

alejandroM-48
Site owner

Background of the issue:
I am trying to manage translations for my website, which is in English. The page in question is hidden link. I expected to see translation flags pointing to the correct pages.

Symptoms:
1. The French translation flag does not show up. 2. The Spanish flag points to the wrong page. The correct Spanish translation page is hidden link, but it points to hidden link. 3. On the wrong Spanish-translated page, the flags to return to English or French do not appear.

Questions:
Why is the French translation flag not showing up?
Why is the Spanish translation flag pointing to the wrong page?
How can I specify which Spanish page should be displayed?

October 18, 2024 at 11:05 am #16304054

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

No worries. I will help you get things set up correctly.

We can go to the WordPress edit page for the translated version of that page (the one that's incorrect at the moment) and set that translation NOT to be a translation of a page anymore. We can make it so that it can be an independent page on the Spanish website that you can remove or use later.

While in your WordPress backend, you can switch the language to Spanish from the top black bar (click the Spanish flag).

After that, go to "Pages" and find the "translated" version, which is currently the incorrect one.

Hover your mouse over it and select the first link under the page title, "Edit."

Click that one, and WordPress will try to open the WordPress editor. You might see a window now where you should have an option called "Edit anyway" so click that one if it appears.

Now, on the right sidebar, you should be able to see that the page is currently set as a translation for a specific page. You can click in that area and select the option at the top (if I'm not mistaken, it is a blank option). You click that one and save, which will disconnect that translation from your English page.

Now, you should be able to follow the steps explained in our documentation below so that you can connect the correct Spanish translation with the English page:
https://wpml.org/faq/how-to-link-already-translated-pages/

We can handle only one issue per ticket, so let's handle the wrong translation in this ticket. After we finish, I will create a new ticket for you regarding the French option not showing up in the language switcher.

Please let me know how things go.

I will be waiting for your response.

Mihai Apetrei

October 21, 2024 at 4:18 am #16309806

alejandroM-48
Site owner

Hi Mihai,
Thanks for you reply 🙏🏽.

I was able to reconnect the Spanish translation to its translation but the link: Calisalsaexperience.com/es/cali-city-tour/ which is the correct one, is not the final link.
This link is redirecting to calisalsaexperience.com/es/cali-city-tour-nueva/
I'm still not able to keep the good link by itself alone: Calisalsaexperience.com/es/cali-city-tour/ as the translation.

I would like to know how I may keep this only link without redirecting to the slug "cali-city-tour-nueva/" as the final page for the translation. As you see the word nueva should not be there.

Once again. Thankyou for you help 👍🏽🤗

1000309182.jpg
October 21, 2024 at 10:59 pm #16314611

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Can you please try to go to your site's backend > switch to that language from the top of the black bar > then find that page > hover your mouse over it > select "quick edit" and try to edit the URL manually to the one that you want?

Does that work?

October 22, 2024 at 4:51 am #16314929

alejandroM-48
Site owner

Hi Mihai,
No sir, it did not work. Once I did the change that you suggested. I went to the front end and clicked on the spanish flag and it pointed to the previous wrong page: calisalsaexperience.com/cali-city-tour-backup.

I also have an issue with another webpage, hidden link The french translation is not loading, the status is 95% but it never finish this translation.

The original webpage is in english. Should I open a new ticket, and manage both issues from different ticktets at the same time?

Or you may help with both issues?

October 22, 2024 at 10:14 pm #16319499

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, and thank you for the update.

We may have a redirect set up somewhere on the site.

Please create a full website backup and then share the credentials in the private fields I enabled below.

Regarding the other issues, please note that, per our Support Policy, we can handle only one issue per ticket.

Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.

Can you please open a new ticket for each new issue you encounter (one ticket per issue) so that we can properly focus on and tackle each one?

Thank you very much for your understanding and cooperation.

I will be waiting for the credentials.

October 29, 2024 at 12:24 am #16339917

alejandroM-48
Site owner

Hi Mihai,

Last message was updated.
I have send the Usermane, password, and url to admin to log in.

Thanks for your help. I hope you can fix all the redirecting issues in my webpage.

Also, the WPLM is not allowing me to use emojis on the translations.

Regards,

Alejandro.

October 29, 2024 at 11:57 pm #16344439

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

October 31, 2024 at 5:26 pm #16353017

alejandroM-48
Site owner

Good day Mihai,
any update on this issue ?

October 31, 2024 at 10:26 pm #16353488

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

It took me a while to finally figure out what was happening.

It seems you had two existing pages that were still in the "Trash" tab.

One of those was using the normal link (the one without "nueva") and that's why you were not able to overwrite it.

We first had to remove those two items from the trash. Now, the link works fine.

Screenshot 2024-11-01 at 00.23.40.png