Polylang Database Cleanup Issue

Polylang Database Cleanup Issue

by admin

If you are using the Polylang plugin, you may encounter an issue after performing a database cleanup. On websites where Polylang is installed, the language relationships between categories can be removed during the cleanup process. As a result, category translations become disconnected, and various multilingual elements on the website may stop working or disappear.

This issue is caused by database optimization tools that remove entries they consider unnecessary. Specifically, cleaning up Orphaned Term Relationship and Orphaned Term Meta records can delete data that Polylang relies on to maintain language associations between taxonomy terms.

Solution

To prevent this problem, make sure the following cleanup options are disabled before running a database cleanup:

  • Orphaned Term Relationship
  • Orphaned Term Meta

Leaving these options unchecked preserves the taxonomy relationships and metadata that Polylang uses to connect translated categories. After disabling these cleanup options, you can safely optimize your database without breaking category-language associations.

Related articles

How to Change Default Permalink in WordPress
How to Change Default Permalink in WordPress

The default permalink structure might not always align with your website’s goals or SEO strategies. Changing the default permalink structure…

Placeholder Image
How to Show Clean Cache Button at the Toolbar to the Authors

https://www.wpfastestcache.com/features/clear-cache-link-at-the-toolbar/

Placeholder Image
Italy Cookies Choices Fix

You need to do the following steps to use Italy Cookies Choices properly.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.