Title: Comments login
Last modified: May 20, 2021

---

# Comments login

 *  [nicolaskais](https://wordpress.org/support/users/nicolaskais/)
 * (@nicolaskais)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/comments-login-3/)
 * I want only logged in WP-Memebers users to comment on post but the login redirects
   to that of WordPress instead of WP-members.
    How do we change that?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/comments-login-3/#post-14481265)
 * The link you’re referring to would be generated either as the WP default or by
   your theme. So if you want any WP generated login links to point to a front end
   login you’ve created, then you need to use WP’s `login_url` filter to change 
   where those links point to. [https://developer.wordpress.org/reference/hooks/login_url/](https://developer.wordpress.org/reference/hooks/login_url/)

Viewing 1 replies (of 1 total)

The topic ‘Comments login’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/comments-login-3/#post-14481265)
 * Status: not resolved