I am trying to log in on a Drupal site, but the site doesn't have the login block enabled.

How can I find the URL for the login form?

4 Answers 4


Drupal default login URL format,



You can also check http://example.com/?q=user/login if the clean url is not enabled.


If nothing is working, then there is a possibility that the user has overridden the user.tpl.php for that you can use


same way for directly resetting the password you can access user/password and for getting logged out directly from a Drupal site if you're unable to find any option then you can use user/logout



With Drupal, if the login block isn't shown in any page, you can see the login form visiting the user/login path. If you are already logged in, Drupal will return a 403 error, since only users who still have to log in can access that page.
If you visit http://example.com/user (replace example.com with the domain of your site), you will see your user profile page, if you are logged in, or you will be redirected to the login form, if you aren't logged in.

If clean URLs aren't enabled, the login form will be visible on http://example.com/?q=user/login, while the user profile page will be visible on http://example.com/?q=user. (Replace example.com with the domain of the Drupal site.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.