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.
Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Background of the issue:
I am experiencing a significant slowdown on my website hidden link when the WPML plugin is activated. I have installed Code Profiler Pro to analyze the issue.
Symptoms:
The page load time increases by 2 to 2.5 seconds when WPML is enabled.
Questions:
Could you please assist with the slowdown issue caused by WPML?
Thank you for contacting the support. Meanwhile this ticket is attended by one of my colleagues, I'll recommend considering the followings:
- Consider disabling "display as translated" (Fallback mode) from post types, taxonomies, custom fields, etc. in WPML > Settings.
- Try disabling the setting to "Adjust IDs for multilingual functionality" at WPML > Languages > Make themes work multilingual. Recommended themes should not need this setting.
- Turn off “Track where strings appear on the site” in String Translation.
- Remove strings that are not needed and untranslated strings. You can do this by going to WPML -> Support -> Troubleshooting and scroll down almost to the 3 quarter of page and click "Clear invalid strings" button. This 'll take you to a page with a list of such strings. You can remove this to reduce the load of strings translations.
- You can also try other troubleshooting options like "Cleanup and optimize string tables", "Clear invalid strings" and "Remove ghost entries from WPML tables".
- Do not use any kind of SSL-helping plugins. They produce significant overhead by redirecting every request. To use https properly, just convert all links in the database using a safe search-replace plugin such as Better Search Replace or via WP-CLI.
These are few initial steps you can check and see if these help improving the situation. Please feel free to share your findings and we'll try our best to help you further on the matter.
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
WPML settings are correctly set up to prevent additional resource usage and increase performance.
I have also ran the WPML troubleshooting actions and optimized the database tables from WPML->Support->Troubleshooting.
Up to 20% (approx) time increase is normal and expected which is what I am seeing at the moment for both the backend and front end when I compare with WPML activated vs WPML deactivated.
2.80s loading speed with Default Theme + WPML + WPML add-ons + WooCommerce base plugin activated.
5.43s loading speed with Electro Child + WPML + WPML add-ons + WooCommerce base plugin activated.
Activating Electro Child increases loading speed by 93.93%.
As a test please go to Themes and switch from electro to a standard theme such as Twenty25 and let me know your results.
NOTE: We recommend doing these tests on a staging site where the issue has been reproduced if you perform on a live site please make sure you have a recent and working backup available.