I ended up creating a topic_id/blog_id database table. It’s only added when a single Discourse forum is associated with multiple WordPress sites, so it should be ok.
simon
12
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I would like to automatically sync WP posts with existing Discourse topics if they have the same name. How to get a topic by title? | 1 | 1064 | June 26, 2018 | |
| Is it possible to "join" an existing WordPress post with an existing Discourse topic | 3 | 1505 | October 17, 2018 | |
| How do you re-associate a WordPress post with its respective Discourse topic? | 2 | 497 | May 6, 2022 | |
| How to link the existing discourse comments to wordpress posts? | 10 | 5143 | December 11, 2017 | |
| An idea for more economical comments? | 16 | 1375 | December 11, 2023 |