Hello,

I have a common question but i fail to find answer for drupal 6. I want the user when he goes to www.mywebsite.com/admin to have just a log in form with username and password field.

I found this article http://drupal.org/node/154113 but it does not really work for drupal 6.

Does anyone have any idea how to do this?

Thanks in advance and merry Christmas to everyone :)

Comments

WorldFallz’s picture

i don't think you want to redirect the /admin page -- that's are core drupal admin path. Use the standard /user page as it's supposed to be used.

dtsio’s picture

This subject seems to help - http://www.lullabot.com/articles/hacking_phptemplate

What i do now is that the admin page redirects to the user one in order to log in. Then when you log in you are redirected to the admin page!

The first one is not a real redirect. I just say when we have a 403 page (access denied) to go to the /user page. It seems to work very nice. Thanks for the reply