1)Install URL alter (http://drupal.org/project/url_alter) module
2)and put the code like this in your custom module..
function hook_url_outbound_alter(&$path, &$options, $original_path) {
global $user;
// Change all links to the user's profile edit page to a path 'e'.
if($original_path=="user/register"){

$path = "user/register";
$options['query'] = drupal_get_destination();

}

}

Comments

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Urlfilter is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.