Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you disabled the User login block and need to log in, you can visit the login page on:
http://example.com/?q=user
or, if clean URLs are enabled, use
http://example.com/user
Note: Use the literal word user, not your username or user id.
Comments
Saved by this help topic
A few days ago, when editing the CSS files for the new website, I decided that users shouldn't have to login to access my brother's website for his novels, so I removed the username/password form from the visible site. Today, after building nearly all of the site, I tried to get my brother (he lives in Savannah, I live in Pittsburgh) logged in so he can enter in text independently. In the process, I went to click on Administer, and hit Log out and was blocked from accessing the site I've been building.
Thank you to the folk that put this topic in a fairly easy to find place, so a Drupal novice like me could find it relatively quickly.
Phil Maye, Pittsburgh, PA
Log in after disabling the User login block
Sorry but this isn't working. I disable the login block and now while typing mydomain.com/user or mydomain.com/admin I the fields for user and password doesnt appear neither the log in button. How can I access to my site now??? any idea ?? it is urgent for us to recover the access because we run a multisite and its our fron site the one that is blocked.
For Drupal 7 try this:
mydomain.com/?q=user/login
Should work :)
Can't log in
I am having the same issue and I tired using mydomain.com/?q=user/login and nothing happened. Any other suggestions?
Can't log in
I logged out as 'admin' and when I logged in as one of my new users, the loginmenu disapeared. Also no adminmenu and no loginmenu to connect back to admin.
My teacher gave me this tip: www.mydomain.com/user/logout
So now I can loggin as admin.
Hope this could help
Hey Akay,
Hey Akay,
I got myself exactly in the same position - I created another user and when I logged in as the new user my options for login/logout disappeared.
It didn't work with logout but I tried www.mydomain.com/user/login
This saved me - I was able to log in back as admin.
Thanks for your help!
Log in back is not an issue, but setting back the Log in block..
I disabled the 'Log in' block and the 'Main page content' block.
Thanks to this topic, I was able to log in back.
The issue is this: trying to place back the 'Log in' block to the left side bar, a Region error related to Main page content occured.
Late edit: seems to be related to a bug for Region error.
login block missing
after designed a page with a panel everywhere, and disabled all pages and other blocks and regions , logged out nun of Answers above Helping .
Smile
Thank's...
its Solved May task