Unified login page for a Multisite/BuddyPress site

You could you do this with redirects through the root .htaccess file;

Something like this perhaps:

# Redirect to new login

<IfModule mod_rewrite.c>

# For security reasons, Option followsymlinks cannot be overridden.

# Options +FollowSymLinks

Options +SymLinksIfOwnerMatch

RewriteEngine on

RewriteCond %{HTTP_HOST} ^subdomain.mysite.com/login.php [OR]

RewriteCond %{HTTP_HOST} ^www.subdomain.mysite.com/login.php [NC]

RewriteRule ^(.*)$ http://www.my-main-site.com/login.php/$1 [L,R=301]

</IfModule>

# Redirect end

Or to redirect all sub-domains to the parent, you could try this as a “catch all”:

RewriteCond %{HTTP_HOST} !^my-main-site\.com$ [NC]
RewriteRule ^(.*)$ http://my-main-site.com/$1 [L,R=301]

Or if you want to exclude some sub-domains you could do this:

RewriteCond %{HTTP_HOST} !^my-main-site\.com$ [NC]
RewriteCond %{HTTP_HOST} !^excluded-sub\.my-main-site\.com$ [NC]
RewriteRule ^(.*)$ http://my-main-site.com/$1 [L,R=301]

You’ll have to have a play to get the login.php working.
This link may help:
http://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomain-to-a-directory-using-htaccess/