Title: Block registration of .ru email addresses
Last modified: August 19, 2016

---

# Block registration of .ru email addresses

 *  [darkhorn](https://wordpress.org/support/users/darkhorn/)
 * (@darkhorn)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/ru/)
 * I want to block registration of e-mail addresses that end with .ru
    How I will
   do that?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/ru/page/2/?output_format=md) [→](https://wordpress.org/support/topic/ru/page/2/?output_format=md)

 *  [kushalkoolwal](https://wordpress.org/support/users/kushalkoolwal/)
 * (@kushalkoolwal)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900286)
 * I am having the same problem. How do I get past it? Anybody??
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900287)
 * You can block all comments from emails ending in .ru, but I’ve yet to find a 
   good registration blocker 🙁
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900288)
 * this works:
 * [http://herselfswebtools.com/2008/06/wordpress-plugin-to-prevent-bot-registrations.html](http://herselfswebtools.com/2008/06/wordpress-plugin-to-prevent-bot-registrations.html)
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900289)
 * Hi all, I agree the obove plugin is excellent, its been very efficient on my 
   2.5 blog, but haven’t tested wuth 2.7 yet.
    Its great at catching multiple registrations
   from bots. mike.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900290)
 * FYI, the wordpress page is here: [http://wordpress.org/extend/plugins/ttc-user-registration-bot-detector/](http://wordpress.org/extend/plugins/ttc-user-registration-bot-detector/)
 * It seems to work okay in 2.7
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900291)
 * Thanks for the info, glad to hear it.
    mike. Ps, just loaded it with 2.7,it shows
   up under tools as registration logs, but when you check the logs, it shows as
   database tables missing, oh well, back to the drawing board, ho hum.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900292)
 * Ugh, okay it works but it breaks bbPress integration. So that chucks it out for
   me.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900293)
 * This should block Russian email addresses. I think. Have not tested it.
 *     ```
       function no_russians($login, $email, $errors) {
       	if (strpos($email, '.ru') !== FALSE) {
       		$errors->add('email_banned', __('<strong>ERROR</strong>: This email address is not allowed, please choose another one.'));
       	}
       }
       add_action('register_post', 'no_russians', 10, 3);
       ```
   
 * The same basic principle should apply to any simple registration ban.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900294)
 * Oh, awesome! I changed it to mail.ru assuming that will still work…
 * I feel bad, saying no to all mail.ru emails, but every last one has turned out
   to be a spammer 🙁
 *  [kushalkoolwal](https://wordpress.org/support/users/kushalkoolwal/)
 * (@kushalkoolwal)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900298)
 * Also at the Registration page can we put something for verification as most of
   the sites now a days do…
 * For example,
 * What is 2+2?
 * or
 * Day after Monday is?
 * I think I have seen that somebody’s blog but not sure how to implement that.
 *  [Saurus](https://wordpress.org/support/users/saurus/)
 * (@saurus)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900299)
 * Use Akismet and Bad Behavior plugins, then set the spam filter for keywords to
   trigger. Even if someone registers from an ru address – their spam will not show.
   If a comment is valid – it will. Just delete the sapm once a week or so for the
   others. I get them all the time and not a single one gets past Akismet.
 *  Thread Starter [darkhorn](https://wordpress.org/support/users/darkhorn/)
 * (@darkhorn)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/ru/#post-900301)
 * thank you
    [http://wordpress.org/extend/plugins/ttc-user-registration-bot-detector/](http://wordpress.org/extend/plugins/ttc-user-registration-bot-detector/)
   works 🙂
 *  [lostdeviant](https://wordpress.org/support/users/lostdeviant/)
 * (@lostdeviant)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/ru/#post-900321)
 * Thank you for the norussians function. I spent the last hour checking the codex
   finding nothing. I’m going to also make a no .info domain function. Spammers 
   seems to have hundreds of those!
 *  [lostdeviant](https://wordpress.org/support/users/lostdeviant/)
 * (@lostdeviant)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/ru/#post-900322)
 * oops didn’t work!
 *  [psybertron](https://wordpress.org/support/users/psybertron/)
 * (@psybertron)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/ru/#post-900323)
 * Anyone got an Akismet fix that simple detects Rusian / Cyrillic spam (rather 
   than simply block all .ru comments ?) Bit of a sledgehammer ?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/ru/page/2/?output_format=md) [→](https://wordpress.org/support/topic/ru/page/2/?output_format=md)

The topic ‘Block registration of .ru email addresses’ is closed to new replies.

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)
 * [e-mail](https://wordpress.org/support/topic-tag/e-mail/)
 * [ru](https://wordpress.org/support/topic-tag/ru/)
 * [whooami](https://wordpress.org/support/topic-tag/whooami/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 10 participants
 * Last reply from: [philippe](https://wordpress.org/support/users/ppaquet/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/ru/page/2/#post-900351)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
