This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing issues with translating search results for products on your website. When you search for a product and translate the search results, it redirects to another page instead of translating the products on the current page.
Solution:
We recommend the following steps to resolve this issue:
1. Navigate to WPML > Languages > Preserve URL arguments in your WordPress admin panel.
2. Add the parameters
s, post_type
to the Preserve URL arguments field. This action ensures that these parameters are retained during URL switches, which helps in maintaining the correct page during translations. For more details, please visit Preserve URL arguments documentation.
3. If additional parameters appear in searches (e.g.,
post_type
from WooCommerce), add these parameters to the same field to ensure proper functionality.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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. Additionally, you can open a new support ticket for further assistance 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.