Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.
DerPixler edited this page Jan 11, 2017 · 9 revisions

Table of contents


This document describes in short the usage of the current development state (pre 2.0.0).

Prerequisites

  • 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:

  1. Export this part will generate a XML file for every language your site manages.
  2. 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)

Preparation

  • 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 your wp-content directory and make sure PHP process user has write access to it
  • Set PHP's max_execution_time to 0 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.

Getting Started With WPML Export

Clone this wiki locally