Skip to content

alberdigital/wp2modx

Repository files navigation

WP2MODX

This is a simple tool to import Wordpress posts into a MODx site. It takes an XML file from a Wordpress export and uses it to add new rows to the site_content table of your MODx database. It also imports images.

Installation

  • Install PHP and add it to your path.
  • Set your MODx database config in config/db.php.
  • From the application base path, run: $ yii wp-to-modx

Usage

Example:

$ yii wp-to-modx/index aux-resources/mysite.wordpress.2015-10-03.xml news-fr --deletePrevious=true --imagesPath=../mhh/wwwroot/assets/images/news/ --imagesLocalUrl=assets/images/news/ --modxTemplate=12 --aliasSuffix=-fr --uriPrefix=fr/ --resetCounter=true -freezeUri=true

About

A little tool to import Wordpress posts into MODx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors