How I migrated Drupal Forum replies to WordPress. Part 2

In the first part, we have reached the point where users and forum topics are imported. There are no forum replies yet. Before we start playing with MySQL part make a backup of the whole WordPress database if you break something. And you should be at least a bit comfortable with SQL. Considering myself, I know just basics of SQL syntax, the other part is the logic and browsing internet if stuck. My SQL statements are straightforward using only insert, select, where statements. These are the most basic query structure elements and not always the most optimally used. But the logic behind is most apparent. Next part is to take care of the Drupal database source. If your Drupal database is on the same server, you can perform queries directly from it and this is how I’ve done this. But this adds keep off the track while writing queries. You…

Continue reading