Saturday, July 18, 2009

How To Login Without Clicking on Login

Let's say your accidentally removed your login block from your display pages. So it's nowhere displayed on your drupal pages. If you logout (or get logged out automatically), you won't find your login form anywhere on your site.
If you need to login to your website and don't have a login form, you can access your login via

yourdomain.com/?q=user

Accessing this URL by typing in your domain and then "/?q=user" from your drupal base directory and a login form will automatically appear for you to login.

This is especially useful when you accidentally or purposely hide your login and you need to logon as admin (user #1) to administer and configure your website.

No comments:

Post a Comment