Title: bbpress forums redirection not working
Last modified: February 10, 2026

---

# bbpress forums redirection not working

 *  Resolved [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/bbpress-forums-redirection-not-working/)
 * Hey,
   I see the option in Forums, added a link but nothing happens on the front-
   end.

Viewing 1 replies (of 1 total)

 *  Plugin Author [imemine](https://wordpress.org/support/users/imemine/)
 * (@imemine)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/bbpress-forums-redirection-not-working/#post-18822695)
 * Hello,
   Why it isn’t working
 * The plugin uses the function `is_singular()` to determine if it should look for
   a redirect link:
 * PHP
 *     ```wp-block-code
       function me_spr_permalink_redirect() {
           if (!is_singular()) { // <--- This is the gatekeeper
               return;
           }
           // ... logic to redirect ...
       }
       ```
   
 * While a Forum or a Topic _is_ a single post type, bbPress sometimes interacts
   with the WordPress template hierarchy in a way that `is_singular()` returns `
   false` depending on your theme or how the forum is queried. Additionally, if 
   you are trying to redirect a **Forum Index** (the archive of all forums), that
   is definitely not “singular” and the code will skip it entirely.How to Fix It
 * You need to tell the plugin to also look for redirects on bbPress post types.
   You can modify the `me_spr_permalink_redirect` function in the simple-post-redirect.
   php file to be more inclusive.
 * **Try replacing lines 114–116 with this:**
 * PHP
 *     ```wp-block-code
       function me_spr_permalink_redirect() {
           // Check for standard singular posts OR bbPress specific pages
           if (!is_singular() && !is_post_type_archive('forum')) {
               return;
           }
       ```
   
 * Things to Double-Check
    1. **Cache:** If you use a caching plugin (like WP Rocket, W3 Total Cache, or LiteSpeed),
       the “old” page might be cached. Clear your site cache and check in an Incognito/
       Private window.
    2. **The Meta Box:** Ensure the URL you entered in the “Simple Redirect to:” box
       starts with `https://`. If the URL is invalid, `esc_url_raw()` might be stripping
       it out for security.
    3. **Forum vs. Topic:** Are you trying to redirect the **Forum** (the category)
       or a specific **Topic** (the conversation)? The plugin needs to be active on
       that specific post type to work.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbbpress-forums-redirection-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/simple-post-redirect/assets/icon-256x256.jpg?rev=2186549)
 * [Simple Page Redirect](https://wordpress.org/plugins/simple-post-redirect/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-post-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-post-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-post-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-post-redirect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [imemine](https://wordpress.org/support/users/imemine/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/bbpress-forums-redirection-not-working/#post-18822695)
 * Status: resolved