i have two roles in my sites and i have created a separate user registration pages for both roles with different urls.Now i want to remove the "create new account" tab in login page and i want to show "access denied" message for user who try to visit "user/register" page.i am working in Drupal 6.
I removed the 'create new account tab' in theme layer and if user try to access "user/register" means, it shows the default registration page. i want to show access denied message instead showing default registration page. is there any another method or any module for this? how can i implement it?