Migration from FluxBB while preserving incoming links

Hopefully this will be helpful to you then. Yesterday I was doing some work to add create_permlinks functionality to the FluxBB importer.

At the moment this is sitting in my WIP PR. See “Add Permalink creation logic to FluxBB importer” commit at the end of this list. I hope to get all of that merged at some point, possibly in a different order (I’m currently waiting on someone to review this basic PR as a start point)

So this creates redirects for four different types of FluxBB urls.

  • profile.php?id=<user id>
  • viewtopic.php?pid=<post id>
  • viewtopic.php?id=<topid id>
  • viewforum.php?id=<forum id>

I think these four cover everything people will want to preserve working links to. What d’you think?


Back on the topic of FluxBB’s special internal links

I wasn’t going to try to keep these as internal links within the new discourse. Lazy solution: They’ll link out to the old fluxbb forum URLs (as full URLs, so external links) which will, thanks to these Permalinks, then redirect the user back to right place in the new discourse.