Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help with redirects

  • @gregfielding

    Participant

    Apologies as this isn’t really a buddypress issue, but I’m not getting much help anywhere else and you folks are pretty savvy.

    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!

  • The topic ‘Help with redirects’ is closed to new replies.
Skip to toolbar