Hello,
I’m currently facing serious performance issues on our WooCommerce website, mostly caused by WPML generating an excessive number of SQL queries. Our hosting provider said that this is highly possible to be the the root cause of frequent slowdowns, database connection errors, timeouts, and server errors.
Here’s some data we collected using Query Monitor:
- Homepage: 6.63s load time, 49.8 MB memory, 0.19s query time, 325 queries
- Product listing page: 2.73s load time, 65.2 MB memory, 0.21s query time, 559 queries
- Product detail page: 2.05s load time, 46.4 MB memory, 0.10s query time, 293 queries
- Back office – Add product page: 1.72s load time, 59.8 MB memory, 0.11s query time, 228 queries
Most of these queries are coming from WPML. We’ve tried caching (WP Rocket + Redis), database optimization, and other standard fixes, but the problems persist.
We are considering migrating to Polylang, using the “WPML to Polylang” migration plugin, to improve performance. However, our site includes many custom taxonomies and WooCommerce content already translated.
We’d love advice or experiences from anyone who has:
- Faced similar performance issues with WPML.
- Migrated to Polylang on a WooCommerce site with custom taxonomies, products, and categories.
- Suggestions for best practices to ensure stability, reduce SQL queries, and maintain SEO during migration.
Thank you in advance for your guidance!