Using the script for migrating from VHL Site 5.x to Wordpress

From Wiki.bireme.org/en
Jump to: navigation, search

Steps for installing and configuring the migration script

Software requirements

  • PHP 5.x
  • VHL-Site subject to migration on the server

Installing

  1. Zipped package
    • Download the zipped package through GitHub;
    • Unzip the contents of the packag below the htdocs directory of the VHL-Site 5.x being migrated;
  2. GitHub repository
    • Install the import script by using the git command:
git clone https://github.com/bireme/bvs-site-importer.git bvs-site-importer

Configuring

  • Open the file config.php and change the $XML_DIRECTORY variable to accomodate the path of the XMLs from VHL-Site (usually below bases/site/xml);
  • In the same file change the $URL_OLD variable to the VHL-Site 5.x instance domain name;
  • Also change the $LANGUAGE variable according to the language being converted (pt, es, en);
  • Access the address <VHL Site 5.x URL>/bvs-site-importer/ and save the resulting XML;
  • Import this XML to Wordpress using the Tools > Import > Wordpress;

NOTE: The data import has to be done individually for each language. Therefore the config.php file should have the $LANGUAGE variable changed according to all languages that apply.

Data validation

VHL-Site to Wordpress - Migration data validation

Manual data migration

VHL-Site to Wordpress - Manual data migration