Background of the issue:
I was trying to access a product category page in different languages on my website. The page works fine in Italian, Chinese, and Russian, but shows a 404 error in English. The issue can be seen at hidden link
Symptoms:
When switching to English on the product category page, it results in a 404 error, despite the category existing and being accessible in other languages.
Questions:
Why does the product category page result in a 404 error only in English while it works in other languages?
How can I resolve the 404 error for the English version of the product category page?
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
Please be sure to make a full backup of your site and database.
Then, go to WPML -> Support -> Troubleshooting.
Look for 'Clean up' and click the following:
- Synchronize posts taxonomies
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Synchronize local job IDs
- Fix Terms count
- Fix post assignment for translations
Thank you for contacting WPML Support, I will gladly help you.
1) According to your debug.info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. (Kindly check this page: https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */
2) Also from the debug info the REST API seems to be disabled. The REST API is a crucial module that enables two applications to exchange data using a specific set of constraints. In particular, the WordPress REST API enables you to connect your WordPress website with external applications (like our services). Please check our documentation related for more information: https://wpml.org/documentation/support/rest-api-dependencies/
Please proceed by increasing the memory limit and enabling the REST API functionalities and check if the issue persists.
I would need temporary access to your site's WP-admin to investigate this issue and understand it better. Please create an administrator user using any email address you prefer.
Please fully back up your site (files and database) and confirm it in your next reply.
Your next reply is set to private so you can provide the username and password details.
Ok now WP Memory limit is solved, but I always still see the translation problem.
I also see the problem even if I'm logged in.
I need to solve this...
Thank you for the update, I've checked a bit further on the plugins page and I noticed that there are a few plugins that require an update. I suggest proceeding with the necessary update on your website.
Also, there is a notification "WooCommerce database update required", and another one saying that the WP-Optimize plugin may conflict with the LiteSpeed Cache plugin. Please proceed with the update and the necessary check/removal of the plugin that better fits your need for the cache part.
* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.