V
V
Vitaly Frolov2017-08-01 20:54:08
MODX
Vitaly Frolov, 2017-08-01 20:54:08

Transferring content from ModX to Wordpress?

The task is to transfer content, namely pages from modx to wp.
Is it possible to somehow do this not manually, but for example, fill in the necessary values ​​​​from the modx database to the wordpress database? Well, or another type of automation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Kudryavtsev, 2017-08-01
@kumaxim

You need 6 cups of coffee + one night + SQL
Base on 2-3 MODx entries. Add them manually on Wordpress. Using phpMyAdmin or Mysql Workbench find a match between the fields of the tables of both databases. Next, a construction of the form comes to your aid. SELECT ... INTO
All that I described above is at least the basic part. Further, depending on what you had on the original site, you add a feedback form, a map in the contact section, etc. small parts.
I was migrating content from a bunch of CMS to WP. If there are more than 1k articles on the original site, then connect to the database and look in which fields / tables the content of the original articles is located. Then, having understood this, you need to transfer the whole thing into a table wp_posts. Along the way, you assign categories / tags there, perhaps you add entries. If you move commentswp_comments) or users( wp_users), then you need to pay attention to the date format (comments) and reset passwords (it is better not to transfer password hashes, insert any random value)
Before starting the transfer, read the WP Database Description . If you have any specific questions - write in the comments below or invite me as an expert when you post on the toaster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question