Title: Wrong Notification link
Last modified: April 1, 2025

---

# Wrong Notification link

 *  Resolved [suar888](https://wordpress.org/support/users/suar888/)
 * (@suar888)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/wrong-notification-link/)
 * Hi,
 * After i approve, the email send the link [https://*******.com/sandbox2/wp-login.php](https://kokausa.com/sandbox2/wp-login.php)
   instead of [https://*******.com/sandbox2/my-account/](https://kokausa.com/sandbox2/my-account/)
   where to update the link?
    -  This topic was modified 1 year, 2 months ago by [suar888](https://wordpress.org/support/users/suar888/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-notification-link%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Mirza Hamza Baig](https://wordpress.org/support/users/hamzawpexperts/)
 * (@hamzawpexperts)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/wrong-notification-link/#post-18394038)
 * Hello [@suar888](https://wordpress.org/support/users/suar888/),
 * Thanks for contacting us,
 * I hope you are doing well. Could you please let us know which registration form
   you are using? This will help us better understand and assist you.
 * Thanks & Regards
   WP Experts Support Team
 *  Plugin Support [Mirza Hamza Baig](https://wordpress.org/support/users/hamzawpexperts/)
 * (@hamzawpexperts)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/wrong-notification-link/#post-18421727)
 * Hi [@suar888](https://wordpress.org/support/users/suar888/),
 * Please paste this code into the functions.php file to the active theme.
 * Here is the code:
 *     ```wp-block-code
       add_filter('new_user_approve_approve_user_message_default', 'nua_change_login_url');function nua_change_login_url($message) {    if ( ! function_exists( 'wc_get_page_id' ) ) {        return $message ;    }    $woo_login_url = get_permalink( wc_get_page_id( 'myaccount' ) );    $message = str_replace('{login_url}', $woo_login_url, $message);    return $message;}
       ```
   
 * If you have any questions, feel free to reach out. We’re here to assist you.
 * Thank you

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

The topic ‘Wrong Notification link’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mirza Hamza Baig](https://wordpress.org/support/users/hamzawpexperts/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/wrong-notification-link/#post-18421727)
 * Status: resolved