Skip to content Skip to sidebar

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

Problem:
After updating WPML, the translated homepage redirects to a products page instead of displaying as expected for guests, although it appears correctly when logged in as an admin.
Solution:
If you're experiencing this issue, we recommend following these steps:
1) Ensure you have a full site backup.
2) Navigate to WPML>>Support page, and click on the Troubleshooting link.
3) On the Troubleshooting page, execute the following actions in the *Clean up* section, waiting for confirmation after each:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
4) Go to Settings>>Permalinks and resave the settings.

If the problem persists, it might be due to a plugin conflict. Test with only WPML and essential plugins active, and switch to a default theme if possible. If the issue still occurs, consider providing temporary access to our support team for further investigation.

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.

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 3 replies, has 3 voices.

Last updated by Mateus Getulio 1 year, 9 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 7, 2024 at 4:33 pm #16049205

eyalW

Background of the issue:
When browsing our website's translations, the homepage redirects to a products page instead of showing up as it does when logged in as an admin. Cache has been cleared. The issue started after updating WPML to the latest version following several months without updates.

Symptoms:
Translated homepage doesn't show up as guest and redirects to a products page.

Questions:
Why does the translated homepage redirect to a products page for guests?
How can I fix the homepage translation issue after updating WPML?

August 7, 2024 at 4:43 pm #16049278

Bigul

Hello,

Welcome to the WPML support forum. Before your ticket is assigned to one of my colleagues, please allow me to guide you through some initial debugging steps to help speed up the support process.

Which version of WPML you were using before upgrading to WPML 4.6.12.

Please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue exists or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

3) Visit Settings>>Permalinks and resave the settings

--
Thanks!

Bigul

August 7, 2024 at 5:47 pm #16049543

eyalW

Thanks Bigul - I tried the steps you mentioned, no change.

The previous versions of WPML I was using-
- WPML Multilingual CMS : 4.6.9
- WPML String Translation : 3.2.9

August 7, 2024 at 9:06 pm #16049909

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi,

Thanks for contacting us.

It is possible that this is being caused due to a conflict with a different plugin.

Can you please test minimal, using a default theme(if applicable) and with all non-WPML and essentials plugins disabled to see if the error persists. If possible make a backup of the site before doing it or test on a staging copy.

If it doesn't work, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 12, 2024 at 2:10 pm #16062628

eyalW

Thanks for offering help - The issue is now resolved. We're not sure if it was the previous troubleshooting steps or reinstalling our cache plugin (litespeed), but everything looks fine now.