Accessing Drupal's Login Page After You Have Already Disabled The User Login Block

Thursday, September 27th, 2007

Drupal 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!!!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Reddit
  • Slashdot
  • Technorati
  • description
  • NewsVine
  • StumbleUpon
  • E-mail this story to a friend!
  • Sphinn

8 Responses - Join the Conversation to “Accessing Drupal's Login Page After You Have Already Disabled The User Login Block”

  1. Cliff Says:

    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.

  2. jamiegrove Says:

    That freaked me out too! Glad I could help, Cliff!

  3. Margaret Says:

    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

  4. felix Says:

    Thank you for this tip.

  5. elisa Says:

    thank you very much!!!!!!

  6. jamiegrove Says:

    Non c’รจ di che, Elisa! :)

  7. Chris Says:

    This doesn’t seem to work if you have short URLs enabled. You’ll just get the generic “Page Not Found” error.

  8. jamiegrove Says:

    Hi, Chris.

    If you have clean URLs enabled, you can use:

    http://www.somesite.com/user

Leave a Reply