Accessing Drupal's Login Page After You Have Already Disabled The User Login Block
Thursday, September 27th, 2007Drupal is big on user community. By default, a fresh installation of Drupal plops a user login block in the left navigation column. But maybe you're just getting started with a new site and you don't want to look pretentious talking about "users" when in fact you are the only one using the site.
Well, turning off the user login block is easy. As with any block, you can disable it via Administer->Site Building->Blocks. However, once you've disabled the block for the general public, you will still want to log in. Now what?
To get a login page, browse to the root of your Drupal installation and add "?q=user" to the end of the URL:
http://www.somesite.com/?q=user
or
http://www.somesite.com/install_directory/?q=user
P.S. Here's to hoping that your site gets big enough that you want to turn the login box back on!!!










Receive posts via RSS
October 23rd, 2007 at 4:44 pm
Thanks. You’re a lifesaver. I was really worried when I realized I changed all my pages from published to unpublished and found out the login page I had created was something I needed.
October 23rd, 2007 at 7:32 pm
That freaked me out too! Glad I could help, Cliff!
January 19th, 2008 at 12:40 am
I knew I’d read about this somewhere, but when I tried to look it up at drupal.org and then Google it, I had a heck of a time finding this info.
May you get lots of traffic for writing this!
Cheers!
Margaret
March 17th, 2008 at 8:41 pm
Thank you for this tip.
April 8th, 2008 at 4:15 am
thank you very much!!!!!!
April 8th, 2008 at 7:46 am
Non c’รจ di che, Elisa!
July 7th, 2008 at 9:43 pm
This doesn’t seem to work if you have short URLs enabled. You’ll just get the generic “Page Not Found” error.
July 7th, 2008 at 9:58 pm
Hi, Chris.
If you have clean URLs enabled, you can use:
http://www.somesite.com/user