How to Access the Drupal Admin Panel, When the Login Block Is Disabled

| | 1 min read

This is a common question among Drupal beginners, we do not want the login block to be displayed on our site always. In most of these cases, the login block will be turned off in the administration. We can access the login screen simply through the following URL.

http://sitename.com/?q=user

or if the clean URL is enabled

http://sitename.com/user

In the same way, if you can’t access the logout link and need to log out, you can use the following URL.

http://sitename.com/?q=user/logout

if the clean URL is enabled

http://sitename.com/logout