-
Notifications
You must be signed in to change notification settings - Fork 6
Home
- Prerequisites
- Export wpml as Single XML-Files
- Import the XML with WPCLI
- Import the XML with the WordPress Importer
This document describes in short the usage of the current development state (pre 2.0.0).
- WordPress multisite
- MultilingualPress
- WP-CLI
- composer
- PHP 5.5
- WPML to MLP (dev-2.0.0)
You're here because you want to switch from WPML to MLP. This is a complex process of data modulation. The process is splittet into two parts:
- Export this part will generate a XML file for every language your site manages.
- Import each of these XML files has to be imported separately into the new site (blog) inside of a prepared multisite installation
In order to avoid side-effects we suggest to split these both steps to two separate WordPress installations. E.g. your original
site (SITE A) example.com
uses WPML with two languages english and spanish. Setup another WordPress multisite installation (SITE B)
example.dev
with two sites example.dev
(english) and es.example.dev
(spanish). You do the import on example.dev
and
es.example.dev
and after that you migrate everything to example.com
. (http://wpkrauts.com/2014/how-to-migrate-wordpress-multisite-with-wp-cli/)
It should, however, be possible to do both parts within one installation. But you should deactivate every plugin and non-default theme besides MultilingualPress, WPML to MPL and WPML. (You should even deactivate WPML on part 2)
- Install WPML to MLP by checking out this github repository. After that, change to the plugin directory and run
$ composer install --prefer-dist --optimize-autoloader --no-dev
. - Create a directory
log/
inside yourwp-content
directory and make sure PHP process user has write access to it - Set PHP's
max_execution_time
to0
in your PHP configuration to avoid to run into a timeout - Set the PHP memory limit to the maximum of what your machine allows (we're working on this)
- Create/setup a WordPress multisite and install MultilingualPress networkwide. Create a site for each language and setup the language-linking in the MultilingualPress settings
- Make sure your original site is available via HTTP from the importing system.