Importing Data to Discourse

Hi, I have a website on WordPress, where I have around 35000 Post, and want to shift my website from Wordpress to Discourse, I have the ability to extract data from my website in different formats, like CSV, etc

Can you please suggest what can be the best option for me?

I am thinking to extract data from my wordpress website into csv, columns,and inserting that in discourse

Thanks in advance

You’ll want to have a look at scripts/import_scripts for examples of import scripts and read from the SQL database rather than csv. At least a couple are for various WordPress-based things. I think that I once wrote a script to import WP comments, but the client ended up not using it and I don’t see it at first glance.

1 Like