Altering Create New account tab link in user login page I tried using form alter for menu of tabs in /user page, that shows

"create new account", "login", request password

is it possible for us to alter the link so that the create new account can go to "customlink" instead of "user/register"

in drupal 7?

thank you!
Well, you could use hook_menu_alter() to change the call back function of that menu item:

function MY_MODULE_menu_alter(&amp;$items) {
  $items['user/register']['page callback'] = 'my_custom_function';
}


And then you could redirect to a new page in the callback:

function my_custom_function() {
  drupal_goto('customlink');
}