Problem: You are experiencing an issue where switching languages directly from the homepage results in an incorrect URL format, specifically adding an extra underscore (e.g., '.it__/?lang=en' instead of '.it/?lang=en'). This problem does not occur when switching languages from another page and then returning to the homepage. Solution: We recommend the following steps to resolve this issue: 1. Ensure all plugins, including the WPML suite, are updated to the latest versions. 2. Remove any unused plugins and clear all caches. 3. Refresh permalinks through Settings → Permalinks in your WordPress dashboard. 4. Re-test the homepage language switch. If these steps do not resolve the issue, it may require a manual inspection of the site and server URL rewrite rules, specifically for the homepage. Additionally, review the WPML language switcher settings and homepage permalink structure, and check for any custom functions or hardcoded URLs in the homepage template.
If the problem persists or the solution seems irrelevant due to being outdated or not applicable 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. If needed, please open a new support ticket at WPML support forum for further assistance.
Problem: If you're experiencing random Internal Server Errors when the WPML plugin is active on your site, and these errors disappear when the plugin is deactivated, this might be related to a conflict or server issue. Solution: We recommend following these steps to isolate and potentially resolve the issue: 1. Ensure all your plugins, themes, and the WordPress core are up to date. 2. Check and modify the
wp-config.php
file to enable WP_DEBUG mode by setting WP_DEBUG_DISPLAY to true. This change might help in capturing any errors related to the site. 3. If no debug log is generated, which indicates that the problem might be originating from the server, contact your hosting provider for server logs. 4. Test the site in a different hosting environment to see if the issue persists. This can help determine if the problem is specific to the current server configuration.
If these steps do not resolve the issue or if the error logs do not provide clear insights, we highly recommend creating a staging site and replicating the issue there. This controlled environment can be crucial for further troubleshooting without affecting the live site.
Please note that the solution provided might be outdated or not applicable to your specific case. If the problem persists, we encourage you to open a new support ticket. We also 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. For further assistance, please contact us through the WPML support forum.
Problem: You are experiencing an issue where approximately 2000 pages have mysteriously duplicated on your site. Solution: We recommend taking the following steps to address the duplication of pages: 1. Increase the PHP limits on your server, including
max_execution_time
,
max_input_vars
,
memory_limit
, and
max_input_time
. This can help prevent timeouts during large operations. 2. Perform the cleanup on a local or staging copy of your site by following these steps: a. Make a full backup of your site (database and files). b. Temporarily deactivate WPML and its add-ons. c. Delete the duplicated posts in larger batches. d. Reactivate WPML once the cleanup is complete.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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. If further assistance is needed, please open a new support ticket at WPML support forum.