Using a standard WordPress setup I had the following in htaccess...
RewriteCond %{QUERY_STRING} ^registration=disabled$ [NC]
RewriteRule ^wp-login.php$ http://www.mysite.com/register [L,R=301,NC]
Which successfully redirected any calls to wp-login.php?registreation=disabled to http://www.mysite.com/register
I have now moved over to multi-site so need the redirect to send the user to whatever site within the network they are browsing, how can i do this?
UPDATE
To clarify, as I am now using multi-site I could now be faced with different sub-domains and addresses such as
www.mydomain1.com/testsite www.mydomain2.com/example www.mydomain3.com/various
I am looking for a one size fits all htaccess command that will redirect