# Migrating Wordpress Forum using SQL

**URL:** https://meta.discourse.org/t/migrating-wordpress-forum-using-sql/367173
**Category:** Migration
**Created:** [May 22, 2025, 7:30am UTC](https://meta.discourse.org/t/migrating-wordpress-forum-using-sql/367173 "2025-05-22T07:30:10Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![michael](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michael/32/487694_2.png) [@michael](https://meta.discourse.org/u/michael)
#### Post date: [May 30, 2025, 2:26pm UTC](https://meta.discourse.org/t/migrating-wordpress-forum-using-sql/367173/4 "2025-05-30T14:26:48Z")

</div>

If you’re using [bbPress](https://bbpress.org/) as the forum component for your WordPress site, we do have more targeted support for that. Discourse’s import scripts include [a dedicated bbpress.rb importer](https://github.com/discourse/discourse/blob/main/script/import_scripts/bbpress.rb), which can pull over users, topics, posts, categories, and attachments.

To use it, you’ll need access to a MySQL database dump of your WordPress site. The importer assumes default bbPress table structures and post types, so if you’ve customized bbPress heavily or used additional plugins (e.g., BuddyPress), some tweaking may be required.

If you’re unsure whether your forum content is using bbPress, one quick way to check is to look for tables like wp\_bb\_posts or wp\_posts entries with post types like topic and reply.

Note that this process does require some technical familiarity, particularly with Ruby, SQL, and running import scripts inside a Discourse environment. If you’re not a developer, you may want to work with one, or if you’re interested in using a hosted Discourse site, the earlier comment about reaching out to the team is a good summary of your options. We’re happy to assist if you go that route.

---

_[View the full topic](https://meta.discourse.org/t/migrating-wordpress-forum-using-sql/367173)._
