Tuesday, May 7, 2013

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

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

1 comment: