Title: Login Issue
Last modified: July 29, 2026

---

# Login Issue

 *  Resolved [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/login-issue-106/)
 * We have a problem with the links sent in a notification and how it interacts 
   with the fact that we don’t use the standard WordPress login page but a custom
   page. Maybe you can provide some advice.
 * The notification message includes 2 links: one for the overall thread/topic and
   one for the particular reply that has triggered this notification.
 * The overall thread/topic link is something like [http://www.xxx.com/?bbpnns-login=1&redirect_to=www.xxx.com/topics/thistopic/](http://www.xxx.com/?bbpnns-login=1&redirect_to=www.xxx.com/topics/thistopic/)
   
   That link goes to the correct login page
 * The reply link is something like [http://www.xxx.com/?bbpnns-login=1&redirect_to=www.xxx.com/reply/4325](http://www.xxx.com/?bbpnns-login=1&redirect_to=www.xxx.com/reply/4325)
   and this takes the browser to the WordPress login page.
 * Is there a way to change the second one to go to “our” login page?

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

 *  Thread Starter [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/login-issue-106/#post-18979683)
 * Looking at this issue further, the options shown on the documentation page ([https://usestrict.net/bbpress-notify-no-spam-documentation/](https://usestrict.net/bbpress-notify-no-spam-documentation/))
   do not correspond to the options offered in the plugin. Is there a reply URL 
   link which goes to the topic and reply rather than the reply number (e.g. not
   to /reply/456123).
 *  Plugin Author [Vinny Alves](https://wordpress.org/support/users/vinnyausc/)
 * (@vinnyausc)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/login-issue-106/#post-18982662)
 * Hi Bob,
   Sorry for the late reply. I had to create a new account as my original
   one was flagged as a brand account and can no longer post.
 * Both issues trace back to a single thing: the New Reply notification is using
   the [reply-url] tag, which outputs the standalone reply permalink (/reply/4325).
   That’s a bbPress “single reply” URL, and bbPress internally redirects it to the
   topic before displaying it — on a private/hidden forum that extra redirect is
   exactly what bounces a logged-out visitor onto the default wp-login.php instead
   of your custom login page. Your topic link doesn’t have this problem because 
   it’s already a topic URL.
 * The fix is to switch that tag to [reply-replyurl]:
    - [reply-url] → [http://www.xxx.com/reply/4325](http://www.xxx.com/reply/4325)(
      standalone reply permalink)
    - [reply-replyurl] → [http://www.xxx.com/topics/thistopic/#post-4325](http://www.xxx.com/topics/thistopic/#post-4325)(
      opens the topic, scrolled to the specific reply)
 * Go to bbPress Notify → Settings → New Reply Email Body and replace [reply-url]
   with [reply-replyurl]. Because the result is a topic URL (like your working topic
   link), it routes through your custom login page and it lands on the topic at 
   the exact reply — which also answers your second question about not linking to
   the bare reply number.
 * If you’d like to force every bbPress Notify login link to your custom page regardless
   of target, add this snippet (site-specific plugin or theme functions.php):
 * `add_filter( 'bbpnns-login-url', function( $login_url, $get ) {
   $redirect = !
   empty( $get['redirect_to'] ) ? $get['redirect_to'] : home_url( '/' );return add_query_arg('
   redirect_to', rawurlencode( $redirect ), 'https://www.xxx.com/your-login-page/');},
   10, 2 );
 * (Swap in your real login-page URL. This overrides the wp_login_url() fallback
   the links use by default.)
 * On the documentation page — you’re right, it’s out of date. For the New Reply
   email, the tags the current version actually supports are:
 * `[reply-title], [reply-content], [reply-excerpt], [reply-url], [reply-replyurl],[
   reply-author], [reply-author-email], [reply-forum], [reply-forum-url], [topic-
   url], [topic-title], [topic-author], [topic-author-email], [topic-content], [
   topic-excerpt], [date], plus the [recipient-*]` and `[blogname]` tags.
 * I’ll get the docs updated — thanks for flagging it. Let me know if the `[reply-
   replyurl]` swap sorts it out.
 * Cheers,
   Vinny
 *  Thread Starter [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/login-issue-106/#post-18983303)
 * Thank you for an excellent reply and suggestions. I had thought maybe one of 
   the other URLs might fix this but not sure which.

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

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

 * ![](https://ps.w.org/bbpress-notify-nospam/assets/icon-256x256.png?rev=3449133)
 * [bbPress Notify (No-Spam)](https://wordpress.org/plugins/bbpress-notify-nospam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-notify-nospam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-notify-nospam/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-notify-nospam/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * Last activity: [1 week, 3 days ago](https://wordpress.org/support/topic/login-issue-106/#post-18983303)
 * Status: resolved