Skip to content

How to convert webonary.org data to fit webonary.work

Steven Dyk edited this page Nov 18, 2020 · 1 revision

How to convert webonary.org data to fit webonary.work

  1. Copy mysql data from webonary,org to webonorary.work

  2. Run following SQL command in webonary.work's db:

    update webonary.wp_blogs set domain = 'www.webonary.work' where domain = 'www.webonary.org';

  3. Run the follow script as sudo:

    sudo wp eval-file updateDataLive2Work.php --allow-root --path='/var/www/webonary.work/htdocs/wp'

  4. Run this script against webonary.work whenever webonary.org data is copied to .work. This will fix all the references in the database.

Clone this wiki locally