Zum Inhalt springen Zur Seitenleiste springen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter-Zeitzone: Europe/Zagreb (GMT+01:00)

Schlagwörter: 

Dieses Thema enthält 3 Antworten, hat 0 voices.

Zuletzt aktualisiert von Bruno Kos Vor 6 Tage, 17 Stunden.

Assistiert von: Bruno Kos.

Autor Beiträge
Oktober 31, 2025 um 1:11 p.m. #17535877

normannB

<b>Hintergrund des Themas: </b>
I am trying to clean up the wp_options table from WPML data because our hoster and performance improvement OP mentioned that WPML is adding too much data to the wp_options table.

<b>Die Symptome: </b>
No specific error messages or unexpected behavior were reported.

<b>Fragen: </b>
How can I remove the WPML auto load data from the options table?

The reset and clean uninstall process did not remove the wpml data and i can see a lot of forum users complaint about very large options table via wpml. 🙁

Oktober 31, 2025 um 1:50 p.m. #17535985

Bruno Kos
WPML-Unterstützer seit 12/2018

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+01:00)

Hi,

Before making any changes, please take a full backup of your WordPress database (via phpMyAdmin or `mysqldump`). This ensures you can restore the site if needed.

You can follow this:

1. Identify all WPML-related options by running these queries:

SELECT * FROM `wp_options` WHERE `option_name` LIKE '%wpml%';
SELECT * FROM `wp_options` WHERE `option_name` LIKE '%icl%';

This will list all entries that have been created by WPML.

2. Review the results carefully. Do not delete anything unless WPML has been fully uninstalled or you are certain the entries are no longer needed.

3. If WPML is uninstalled and you want to remove its leftover data, run the following queries:

DELETE FROM `wp_options` WHERE `option_name` LIKE '%wpml%';
DELETE FROM `wp_options` WHERE `option_name` LIKE '%icl%';

4. After deleting entries, you can optimize the table to reclaim space:

OPTIMIZE TABLE `wp_options`;

The table name wp_options may differ depending on your WordPress installation.
If your database uses a custom prefix (for example abc123_options or mysite_options), replace wp_ with your actual prefix:

November 1, 2025 um 5:08 p.m. #17537563

normannB

Hello,
the delete languages and reset process do not cleanup this table. Why not?

BR
Tommy.

November 3, 2025 um 7:57 a.m. #17539639

Bruno Kos
WPML-Unterstützer seit 12/2018

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+01:00)

The WPML Reset and delete languages tool does delete WPML settings, language configuration, and translation tables from the database. However, it does not remove every WPML-related entry, particularly some data stored in the wp_options table.

This is because WPML also stores certain options and internal references in the wp_options table to ensure a safe reinstallation and to prevent breaking other parts of WordPress. These leftover entries can accumulate over time, especially from caching mechanisms.

That’s why, even after deleting languages or performing a full reset, you may still see WPML or ICL-related data in the options table.

That being said, you can do something like:

SELECT * FROM wp_options WHERE option_name LIKE '%wpml%';
SELECT * FROM wp_options WHERE option_name LIKE '%icl%';
DELETE FROM wp_options WHERE option_name LIKE '%wpml%';
DELETE FROM wp_options WHERE option_name LIKE '%icl%';
OPTIMIZE TABLE wp_options;