Title: [Plugin: User Activation Keys] &quot;Approve&quot; Does Not Seem to Function
Last modified: August 19, 2016

---

# [Plugin: User Activation Keys] "Approve" Does Not Seem to Function

 *  [thealchemist](https://wordpress.org/support/users/thealchemist/)
 * (@thealchemist)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/)
 * Hi, I have the latest versions of WordPress and your plugin. I have just noticed
   that when I click “Approve” on an activation key I am redirected to the homepage
   of my site. When I return to the plugin section in admin nothing seems to have
   changed for the user.
 * Its NOT something I am truly worried about I was more curious than anything.
 * Will there be a time when you create a check box / bulk deletion function for
   the plugin? Yesterday I got 217 spambot signups and it takes forever to delete
   them one by one. I could probably wait and use the delete after 30 days function
   but that means I’ll have 6,000 keys floating in the system all the time. Yikes.
 * [http://wordpress.org/extend/plugins/user-activation-keys/](http://wordpress.org/extend/plugins/user-activation-keys/)

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

 *  Plugin Author [David Sader](https://wordpress.org/support/users/dsader/)
 * (@dsader)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/#post-1839388)
 * First, for spammers, you’d want to keep the keys as long as possible. The more
   keys the better, I figure. Keeping the key means users can’t signup with the 
   same username. The keys don’t “float about the system”, the keys stay put in 
   the signup table and aren’t used for much. Deleting keys means they can signup
   again ASAP.
 * That said, I don’t intend this tool to fight spam anyway. Key or not, spammers
   are coming. Install a plugin clearly designed to fight signup spam.
    [ Read the plugin
   description for my intents.
 * Second,
 * > when I click “Approve” on an activation key I am redirected to the homepage
   > of my site.
 * The Approve links should be to an active page such as “wp-activate.php?key=ef7d1740defc22e9”
   where you then get further messages about password or whatever.
 * Try this:
 * Look in the code for the approve link about line 73
 * and change this
 * `echo '<td><a href="' . admin_url() . 'wp-activate.php?key='.$rows['activation_key'].'"
   target="_blank">approve</a>`
 * to this
 * `echo '<td><a href="' . site_url('wp-activate.php?key='.$rows['activation_key']).'"
   target="_blank">approve</a>`
 *  Thread Starter [thealchemist](https://wordpress.org/support/users/thealchemist/)
 * (@thealchemist)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/#post-1839391)
 * Thank you. Do you have a recommendation for anti-spambot signups on wordpress
   multi site with buddy press?
 *  [nguyenhoatm](https://wordpress.org/support/users/nguyenhoatm/)
 * (@nguyenhoatm)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/#post-1839435)
 * `in /home/content/p/h/y/phylliserck/html/wp-content/mu-plugins/ds_wp3_user_activation_keys.
   php:25) in /home/content/p/h/y/phylliserck/html/wp-content/plugins/user-activation-
   keys/ds_wp3_user_activation_keys.php on line 25
 *  Plugin Author [David Sader](https://wordpress.org/support/users/dsader/)
 * (@dsader)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/#post-1839437)
 * nguyenhoatm, that error means you have the plugin installed twice. Keep only 
   one in the mu-plugins folder.

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

The topic ‘[Plugin: User Activation Keys] "Approve" Does Not Seem to Function’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-activation-keys.svg)
 * [User Activation Keys](https://wordpress.org/plugins/user-activation-keys/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-activation-keys/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-activation-keys/)
 * [Active Topics](https://wordpress.org/support/plugin/user-activation-keys/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-activation-keys/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-activation-keys/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [David Sader](https://wordpress.org/support/users/dsader/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-activation-keys-approve-does-not-seem-to-function/#post-1839437)
 * Status: not resolved