Forums

Multisite Redirect Rules to Prevent Sub-blog Signups (3 posts)

  1. gregfielding
    Member
    Posted 1 year ago #

    I'm running a multi-site blog farm with buddypress and am having trouble with spammers registering as users on our sub-blogs. I want to redirect all signups to the registration page of the main site, but I can't get my redirect rule to work properly.

    Here's what I have in htaccess:

    RewriteCond %{HTTP_HOST} ^site.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.site.com$
    RewriteRule ^wp\-login\.php\/?(.*)$ "http\:\/\/site\.com\/register\/$1" [R=301,L]

    I want all wp-login.php pages from sub-blogs to automatically redirect to the site.com/register.

    What am I doing wrong?

    Thanks!

  2. gregfielding
    Member
    Posted 1 year ago #

    Polite bump...

    How are others preventing spammers from registering on sub-blogs?

  3. gregfielding
    Member
    Posted 1 year ago #

    Anyone? Surely other multisite communities are having spam problems...

Topic Closed

This topic has been closed to new replies.

About this Topic