Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're using WPML with Greek as the default language and English as the secondary language, and you encounter 404 errors across all pages in both languages after deleting a post or page in English, it might be related to caching issues.
Solution:
We recommend checking your LiteSpeed Cache settings. Specifically, ensure that the auto-purging of the cache is enabled. This setting is crucial for automatically clearing the cache when posts or pages are updated or deleted, which could prevent the 404 errors you're experiencing. You can find more details on configuring LiteSpeed Cache with WPML here: LiteSpeed Cache and WPML configuration.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, please open a new support ticket. We also 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. For further assistance, you can contact us directly at WPML support forum.

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.

This topic contains 4 replies, has 0 voices.

Last updated by Andrey 3 days, 2 hours ago.

Assisted by: Andrey.

Author Posts
June 30, 2025 at 1:51 pm #17184752

spartakosM

Background of the issue:
I’m using WPML with Greek as the default language and English as the secondary language on my site hidden link. I am trying to manage content in both languages.
Whenever I delete a post or page in the English language, the entire website starts returning 404 errors across all pages in both Greek and English until I manually clear the cache.

Symptoms:

Questions:
Is this a known compatibility issue with WPML?
Could it be related to caching or URL routing?
Any advice or settings I should check?

June 30, 2025 at 3:24 pm #17185337

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

This does not appear to be a known issue and may be related to caching or caused by a conflict with another plugin.

To help identify the root cause, please try the following steps:
1. Temporarily deactivate all plugins except WPML.
2. If possible, switch to a default WordPress theme (such as Twenty Twenty-Four).
3. If possible, disable any site-level caching (from plugins or server-side).
4. Test the issue again.

These steps will help to determine whether the issue is related to WPML or another element in your setup.

July 1, 2025 at 7:22 am #17186872

spartakosM

Yes, this only happens when I use LiteSpeed Cache. If I disable the plugin, the issue goes away and everything works fine.

Does this mean that WPML and LiteSpeed Cache are not fully compatible?
Or is there a way to configure them properly so they can work together smoothly?

July 1, 2025 at 1:44 pm #17188793

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

Our team is actively working on establishing a partnership with LiteSpeed Cache. However, I haven’t come across reports of the exact issue you mentioned.

Have you had a chance to review the LiteSpeed Cache settings? It’s possible that a setting related to auto-purging the cache may be disabled.

Something similar to here:
https://wpml.org/errata/litespeed-cache-categories-are-not-synchronised-to-translated-posts/

LiteSpeed Cache → Cache → Purge → Auto Purge Rules For Publish/Update

July 2, 2025 at 10:54 am #17192389

spartakosM

Resolved by settings from lite speed cache
Thnak you very much!!

July 2, 2025 at 11:26 am #17192610

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Nice! Thank you for the update, and have a great week!