Title: bbPress Topic Edit Error
Last modified: May 11, 2020

---

# bbPress Topic Edit Error

 *  Resolved [mirallesdesign](https://wordpress.org/support/users/mirallesdesign/)
 * (@mirallesdesign)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/)
 * When I use Permalink Manager Lite, the edit option on my bbPress Forum Topics
   stops working, it just reloads the page, when I deactivate the plugin, it works
   fine

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12813895)
 * Hi [@mirallesdesign](https://wordpress.org/support/users/mirallesdesign/),
 * Could you try to change “Redirect mode” to “Disable” in Permalink Manager settings?
   This should stop the redirect.
 * I will try to provide you with a solution in next 24 hours.
 * Best regards,
    Maciej
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12814090)
 * Hi [@mirallesdesign](https://wordpress.org/support/users/mirallesdesign/),
 * I checked the problem and there is a better solution. Could you try to add the
   below snippet to functions.php file in (child) theme directory?
 *     ```
       function pm_bbpress_endpoints($endpoints) {
       	return "{$endpoints}|edit";
       }
       add_filter('permalink_manager_endpoints', 'pm_bbpress_endpoints');
       ```
   
 * Best regards,
    Maciej
 *  Thread Starter [mirallesdesign](https://wordpress.org/support/users/mirallesdesign/)
 * (@mirallesdesign)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12814287)
 * Thanks for the response, disabling the redirect mode works fine, but the snippet
   with the redirect enabled doesn’t.
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12814360)
 * Hi [@mirallesdesign](https://wordpress.org/support/users/mirallesdesign/),
 * Could you provide me a sample edit URL? If you do not want to show it publicly,
   please send it to my email contact /at/ maciejbis.net.
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12840066)
 * To whom it may concern 🙂
 * The problem will be fixed in the next release. If you would like to fix before
   the new version of plugin is published, please use the below snippet:
 *     ```
       function pm_stop_bbpress_redirect() {
           global $wp_query;
   
           if(!empty($wp_query->query_vars['edit'])) {
               $wp_query->query_vars['do_not_redirect'] = 1;
           }
       }
       add_action('wp', 'pm_stop_bbpress_redirect');
       ```
   
 * The code should be added to functions.php file in (child) theme directory.
 * Best regards,
    Maciej

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘bbPress Topic Edit Error’ is closed to new replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/bbpress-topic-edit-error/#post-12840066)
 * Status: resolved