Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Fighting Splogs


stwc
Participant

@stwc

Well, I don’t know — I seem to have lucked out, or it’s just that my site is too new and so-far untrafficked, but the few very simple, small changes I made last week seem to have stopped the firstnamelastname19xx signups.

1) I changed the some of the text on the /register page.

2) I removed the “powered by” text in footer.php of my child theme (someone mentioned that it was being searched for)

3) I changed the register slug in wp-config.php

4) Added a functions.php file in my custom childtheme with the following code to redirect signups for all blogs to the Buddypress register page

function rk_signup_redirect() {
if (strpos($_SERVER['REQUEST_URI'], 'wp-signup.php') !== false ) {
$url = 'http://mydomain.com/customregisterslug';
wp_redirect($url);
exit;
}
}
add_action('init', 'rk_signup_redirect');

where mydomain.com is, you know, my domain, and customregisterslug is the slug I changed in step 3.

I don’t think I changed anything else — no captchas or anything — and I’ve received zero splog signups in the 5 days since, after getting a few a day before that. Fingers crossed.

Skip to toolbar