We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52128
    • 29 Posts

    We are looking to move Modx revolution to Wordpress.

    Any advice on how to export content, images from modx etc. is there any installers/extras etc.

    [ed. note: magzzs last edited this post 6 years, 2 months ago.]
      • 44195
      • 293 Posts
      Wow, I don't think I've ever heard of anyone wanting to move TO Wordpress before. Have you got a client requesting it?

      As such I don't believe there are any export scripts for that kind of thing. It would need to be a custom job and would depend on which template variables you've used etc.
        I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
        Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com
        • 42562
        • 1,145 Posts
        I never heard of anyone wanting to move FROM MODX before
          TinymceWrapper: Complete back/frontend content solution.
          Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
          5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
          • 38850
          • 110 Posts
          I am a flaming capitalist. I'll do it if the price is right!

          I too would love to hear the reasoning behind this decision. I'm going to assume it's because you want to use some high tech plugins or something? Please just don't say you want to use Woocommerce!
            • 52128
            • 29 Posts
            There is always the first time. We have so many problems with the website and there is not enough tools or "plugins" to resolve these issue. We could spend weeks trying to fix the problem whereas in WordPress it is resolved within a few hours. I would appreciate if you could give guidelines on how to transfer the resource content to wordpress.

            many thanks

            Mag [ed. note: magzzs last edited this post 6 years, 2 months ago.]
              • 38850
              • 110 Posts
              I work on Wordpress as a freelancer, I can guarantee you without doubt there are endless problems on there too. There is an entire freelance industry with people making millions of dollars just because Wordpress runs into so many issues.
              There is no freelancing industry built up around MODX, perhaps because there are not so many sites built with it, but perhaps also because they don't break so often! Wordpress is hacked every other day, the frequent updates and plugin incompatibilities will cause you nightmares, and I could go on.

              Anyway, it's not my place to tell you what to do, but I will say you are trading one set of problems for another set of problems. So be ready for that.


              The fact is there is no real way to transfer one to the other with a few clicks. Wordpress separates content into Pages or Posts by default, and uses meta boxes and custom fields and such for extra data. You might even have custom post types, I don't know.
              MODX has a handful of default content fields, and custom fields could come from TVs or other extras and settings and such. You would have to very carefully match up every field you want to keep, with the field it needs to go in WP.

              I would suggest using this WP plugin: https://wordpress.org/plugins/wp-all-export/.
              It has an import and an export tool. Install both of them and activate on a TEST Wordpress site.

              Run the exporter on the WP site, choose the post type (Page or Post etc), then select to export ALL fields, and export it as a CSV.

              Now open that CSV and use it as a guide for how to get your MODX data. That is, the CSV columns here will determine what data you can import from MODX.

              Now in MODX there are two options to export stuff.

              Option 1 is to build a custom snippet and use the MODX API to essentially loop over all your content and write all the data fields you need into a CSV file saved to the file system. Even a plugin like getResources or migx could help if you know how to do all this. You'll have to format the data and properly escape it and what not when adding to a CSV file.

              Option 2 is to create your own MySQL query to pull all the resources and related data yourself, then simply export the query results directly to CSV. For example you can do this in PHPMyAdmin. The main resource data is in the modx_site_content table. At least here you'll get the resource title and content and creation date and publish status etc. But you'll have to do a more advanced query to get related TV fields and other things you might need.
              Once you create a satisfactory query in PHPMyAdmin, you can export the results to CSV. Then just match up the data and the columns from the WP test export.

              Once you assemble the new CSV file where the columns and data line up, use the WP All Export tool to do the import.

              Everything gets much harder if you have a lot of advanced data in MODX; custom tables, settings, custom snippets and chunks with parameters, repeater fields, use of containers and many other dynamics.
              Same thing on the WP side if you use custom post types, custom fields, meta boxes, or any of a million plugins that save additional data to a post. You'd have to figure out how to import custom data into each plugin's data fields in the database directly, probably just using a bunch of small sql queries.

              If all you want to do is import page titles and content field, it will end up being quite easy and fast to do. But with each additional field you want to migrate, it gets more complicated.
                • 54812
                • 1 Posts

                It's possible to migrate the content from MODX Revolution to WordPress via CMS2CMS, the automated website and forum migration service.

                You can run a Free Demo Migration to estimate the results first and choose the entities you wish to be migrated. The price of the migration depends on the amount of content.

                Find more information here: https://cms2cms.com/cms/supported-cms/modx-to-wordpress-migration/

                Hope it helps!