well,It is not that hard.If you are using buddypress and a user is at yoursite.com/wp-login.php ,he may see a link of registration(obviously only if you have enabled it
) which points to yoursite.com/wp-login.php?action=register.
Now if you are using buddypress compatible themes, you must be interested in sending the user to yoursite.com/register in case they click on the registration link.
Well,so here is a small snippet of code to assist you.
/*let us keep an eye on the site_url*/
add_filter("site_url","my_custom_register_url",10,3);
function my_custom_register_url($url, $path, $orig_scheme)
{ /*if the site url is used in login contentxt,let us check for the register link*/
if($orig_scheme=="login")
{
if($path=="wp-login.php?action=register")//so it is a registration link..cool
return get_option('siteurl')."/".BP_REGISTER_SLUG;//let us replace it with our buddypress registration page url
}
return $url;
}
?>
Drop this into the functions.php of your active theme and go and check ,any reference to yoursite.com/wp-login.php?action=register will be pointing to yoursite.com/register(or what ever you set as registration page slug)
Hope it helps.Now I would love to hear ,how it went with you or what approach you are using .Go ahead and put your views in comments.
If you enjoyed this post, make sure you subscribe to my RSS feed!We will keep coming with more informative tips,tricks,tutorials to keep you updated with wordpress/buddypress/wordpress mu regularly.If you want to help us,You can ,by spreading the words.We provide free and premium plugins/support for wordpress Mu,buddypress at a very low cost (starting with $30 for 3 months membership).If you or anyone you know,needs some real good plugins/themes for their wordpress Mu/buddypress powered site, Please refer them to http://BuddyDev.com.We will highly appreciate your support and keep coming with more useful and free stuffs.

![[blinklist]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/blinklist.png)
![[Bloglines]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/digg.png)
![[dzone]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/facebook.png)
![[Ma.gnolia]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/magnolia.png)
![[Mister Wong]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/misterwong.png)
![[Reddit]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/reddit.png)
![[Sphere]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/sphere.png)
![[Sphinn]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/sphinn.png)
![[StumbleUpon]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/technorati.png)
![[Email]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/email.png)


