This thread is resolved. Here is a description of the problem and solution.
Problem:
SearchWP results always show every page or content in all languages.
Solution:
The plugin is compatible with WPML and requires an integration offered by the author at https://searchwp.com/extensions/wpml-integration/.
Relevant Documentation:
- https://wpml.org/plugin/searchwp/
- https://searchwp.com/extensions/wpml-integration/
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: Compatibility
This topic contains 9 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 6 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
July 10, 2023 at 1:33 pm #14003825 | |
jasnaB |
Hi I use the avada theme. When I search for a topic or page the results always show every page or content in all languages. But I only want to show the results in the active languages. How can I do this? |
July 11, 2023 at 7:44 am #14010939 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. In order to check the issue in detail, as discussed by Mateus in the chat, I'll need following information: - Debug information of your website for an overview of your setup. See https://wpml.org/faq/provide-debug-information-faster-support/ for more information. I've enabled the debug information section for your next reply. - And an admin access to your site. I understand you don't have permissions, but is it possible to create a staging or dev site then stripping out any sensitive and/or customer data? Thus leaving only the problem in place, which can be reproduced by following some steps? Or on the other hand, I can provide you a bare sandbox where you can try setting up things as yours with some dummy data and can reproduce the issue? Please let me know. Regards. |
July 11, 2023 at 8:55 am #14011699 | |
jasnaB |
I attached the debug information |
July 11, 2023 at 10:55 am #14013425 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for providing the information, that looks fine. If you're not able to provide the access which deems necessary to check the problem, can you try the following? IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised. - Deactivate all plugins except WPML and its addons and check for the issue. Let me know. |
July 11, 2023 at 2:23 pm #14016147 | |
jasnaB |
Since we use the standard Avada search, I don't know if deactivating all the plugins will get me closer to the solution. Am I wrong here? |
July 12, 2023 at 7:10 am #14019307 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Yes even then we need to investigate. Using a compatible or standard theme/plugin does not guarantee it 'll always work fine because these are always evolving (including WP system) with new features, functionality and even bugs. |
July 12, 2023 at 9:58 am #14021935 | |
jasnaB |
The Plugin responsible for giving out search results in all languages, is the SeachWP Plugin. This is used to make the search more detailed. How can I proceed from here? |
July 12, 2023 at 10:02 am #14022073 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
The said plugin is compatible with WPML (https://wpml.org/plugin/searchwp/) and looks like it has an integration plugin for WPML: hidden link. Please try to use the said integration plugin and see if it fixes the problem? |
July 12, 2023 at 11:25 am #14023047 | |
jasnaB |
Thank you for your help! The extension solved the issue and the results were only in the active language. Unfortunately, I can click the button on the left, "My Issue is resolved". |
July 12, 2023 at 11:34 am #14023241 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for confirming and glad the issue was fixed. I am closing this ticket as resolved, please feel free to open a new one for anything WPML related. |