﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16411,Custom Login and Registration URLs,danielpataki,,"For bigger websites it would be beneficial to allow custom registrations by being able to change the login and registration urls. You can change the login url in a haphazard way now like this, but this is not very good. 


{{{
function bsb_login_url($redirect_to) {
	$redirect_to = str_replace(get_bloginfo(""url"").'/wp-login.php', '', $redirect_to);
	$link = get_bloginfo(""url"").""/login/"".$redirect_to;
	return $link;
}   
add_filter( 'login_url', 'bsb_login_url' );
}}}

Looking at wp-login.php, the registration link is output like this: 

{{{
<a href=""<?php echo site_url('wp-login.php?action=register', 'login') ?>""><?php _e('Register') ?></a>
}}}

If, by using a filter, hook, or even a definition in the config file, you could change the url output here that would be nice. 

",enhancement,closed,normal,,General,,normal,invalid,,trac@…
