qTranslate Cleanup and WPML Import

Allows a complete uninstall and cleanup of qTranslate meta-tags or importing translations into WPML

Author:OntheGoSystems (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:5.1.2
Plugin version:2.0.4
Added to WordPress repository:29-02-2012
Last updated:04-10-2019
Rating, %:68
Rated by:25
Plugin URI:http://wpml.org/documentation/related-project...
Total downloads:55 240
Active installs:1 000+
plugin download
Click to start download

This plugin can either cleanup the qTranslate X meta-HTML tags from your site and leave just one ‘clean’ language, or migrate all languages to WPML’s format.

Very important: This plugin will modify the entire content of your database. You must backup your database before attempting to use it.

For complete documentation, please refer to the qTranslate uninstall and WPML importer documentation.

qTranslate X uninstall and cleanup mode

Must-read: All the issues mentioned in the reviews are solved. We are happy to announce the reintroduction of the clean-up mode with plugin version 2.0

This mode is intended if you just want to keep one language in your site and you want to clean up the language meta-tags that qTranslate added. For this mode, you don’t need WPML.


  1. Save all qTranslate X settings
  2. Go to the Plugins admin page and de-activate qTranslate X
  3. Install & activate QT Importer
  4. Go to Options -> QT Importer, select language to keep and click Start.

Migrate all languages from qTranslate X to WPML

In this mode, the QT import plugin will convert the language information from qTranslate’s language tags format to WPML’s post-per-language format. For this to work, you must have WPML active in the site (but not necessarily configured).


  1. Save all qTranslate settings
  2. Go to the Plugins admin page and de-activate qTranslate X
  3. Have WPML activated, but not yet configured (just activated)
  4. Install & activate QT Importer
  5. Go to Options -> QT Importer and click Start
  6. Add redirects from old URLs to new URLs

The import runs in small batches so it doesn’t have timeout issues with large databases. You can run it on sites of any size.

During the import process, the plugin generates a set of URL redirect rules. These rules tell visitors and search engines that the URLs in your site have changed (from qTranslate’s format to WPML’s format). When the import completes, you’ll be able to export these rules either as rewrite directives for your .htaccess file or as a PHP file to add to the theme.

You can skip the redirect rules, but then, incoming links to internal pages may lead to 404 pages.

The import tool converts posts, meta data and taxonomy. We tried to take every possible scenario in mind, but there’s no alternative to manual testing. Please consider spending time reviewing the final result and possible doing some last touch-ups before relaunching the site with WPML.