Skip to content Skip to sidebar

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: 

This topic contains 7 replies, has 2 voices.

Last updated by Bobby 1 year ago.

Assisted by: Bobby.

Author Posts
June 10, 2024 at 1:24 pm #15714235

andyN-7

Background of the issue:
Our database is filling up with WPML translations. These are translations provided with product filters/queries after the product path /. We have approximately 800 product translations to French. More than 400,000 pages have been created in our database. This is reflected in Google Search Console. As a result, we are experiencing database issues and spam.

Symptoms:
Database issues and spam due to excessive WPML query translations.

Questions:
How can we stop WPML from creating excessive query translations?
How can I clean up the database to remove existing query translations?

June 10, 2024 at 2:49 pm #15722790

andyN-7

For example:
website address and category /?filter_snr-waarde=26-db%2C30-db&query_type_snr-waarde=or&filter_kleur=rouge&query_type_kleur=or&filter_maat=25cm-fr%2C60cm-fr%2C400mm-fr%2C15-millimetres%2C205mm-fr%2C270mm-fr%2C70mm-fr%2C4-2mm-fr&query_type_maat=or

June 10, 2024 at 8:15 pm #15723955

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please go to your database and examine the tables, are there any specific tables that are growing in size beyond what is normal?

Review the database table icl_string_pages for example, what is its size

June 12, 2024 at 8:55 pm #15733485

andyN-7

I don't have an icl_string_pages table, but I do have some others. See the screenshots for the number of tables and size. Does this also affect the number of pages with /?filter (as I suspected)?

Schermafbeelding 2024-06-12 225149.png
Schermafbeelding 2024-06-12 224733.png
June 14, 2024 at 8:36 pm #15741245

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the screenshots!

I am not 100% sure about the /?filter pages, especially the fact that they are being picked up in Google Search Console as these seem to be due to a filter parameter.

There are a few troubleshooting actions we can run that would possibly help here regarding the performance.

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.

Thank you,
Bobby

June 18, 2024 at 5:07 am #15747167

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access.

I have run the WPML troubleshooting actions in WPML->Support->Troubleshooting which should help to optimize the database and make any WPML-related tables smaller in size where possible.

There are 8480 products & 730 categories total in both languages, however,

when reviewing the website sitemap I found nothing logged in with ?filter in the URL.

hidden link

Let me know your results, please.

June 18, 2024 at 2:05 pm #15749447

andyN-7

I have thoroughly examined our database. The number of rows filled with meta is correct. Due to the number of plugins and the duplication from WPML, a large number of rows are being created. I have streamlined it to essentials through a major cleanup.

I initially thought the /?filter originated from WPML because it related to the French-translated products. However, I have now discovered that it's not caused by WPML but possibly by a robot affecting our product filters. The no-index isn't straightforward either. It's also not present in our sitemap XML. Using a disallow on the tag seems to be effective. Search Console detects them, but they are being blocked.

I have only deactivated and reactivated WPML. As a result, not all properties are set correctly anymore. Both the original language and the translation are visible under both languages.

screenshot.png
June 18, 2024 at 7:19 pm #15750676

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Glad to hear you were able to locate where this is coming from.

Deactivating and activating WPML should not cause this issue unless it was RESET.

Please go to WPML->Languages and verify that both the default language and the secondary languages are all activated.

(note; the default language should say "default" next to it in bold)

June 19, 2024 at 8:19 pm #15758554

andyN-7

Settings looks good. I have removed them and will retranslate them so they are correct again. The ticket can be closed.