Skip to:

Upgrade from 0.8.311 to “resets” forum and topic slugs

  • I recently upgraded my old bbPress to version For the most part, the upgrade went great!

    However, during the upgrade, all forum slugs were “recalculated”, so if I had manually edited my forum slugs, they were overwritten.

    By way of example, say I ran this forum and I created a forum named “Super Troubleshooting”. If I had activated pretty permalinks, the URL for this forum would be:

    Then, say I manually went in and changed the “forum slug” to be “superdupertroubleshooting” (for SEO reasons). So now the URL for that forum would be:

    When I upgraded from to, the upgrade function “recalculated” the forum slug using the forum title. In our example, this would change the URL from to

    I looked in the code, and this is all controlled by function bb_upgrade_process_all_slugs() in /bb-admin/upgrade-functions.php. Reading the code, it seems like the code also “recalculates” slugs for topics too!

    “Recalculating” the slugs for all forums and topics seems like an odd design decision to me, because it changes URLs so the webmaster loses Google juice. I was going to create a ticket in Trac, but maybe I’m missing something. Is there a good reason to “recalculate” slugs when upgrading a bbPress installation?

Viewing 1 replies (of 1 total)

  • _ck_


    That’s really interesting and definitely would be really annoying.

    There’s never been an official mechanism to change slugs in bbPress but it should not touch them during upgrades.

    I have to assume there was a bug in 0.8.3 where it would create bad or invalid slugs and that was some kind of attempt to fix the issue in the newer 0.9 code.

    Be sure to note this in TRAC, otherwise it might not be seen by the developers.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar