While working on the site, I have removed option, which prompts user to register\login. Now, \user option is not working (can't find the page) and I don't know, how to login as an admin anymore. Please help.

Comments

mjohnq3’s picture

http://yoursitename/user should bring up the login page.

wjlinville’s picture

I had also deleted the login feature from the left sidebar, and then logged out. I wasn't sure what to do but this http://yoursitename/user did the trick. Thanks!

fi1007’s picture

You saved my life too :-)

humanoc’s picture

Very interesting, but how do i remove the login/password??? :)

Where is that option?

Thanks

einsteinsboi’s picture

Do you mean how to remove the login box so no one can see it on your site? In Admin->Site Building->Blocks, just move the User Login block down to the Disabled blocks section.

RS’s picture

I tried this and it worked like a charm.

My normal url from WAMP is http://localhost which in the past, brought me to a page that had the user login info for admin

Now when I launch localhost, I'm not able to login as an administrator.

Can I create an alternative url login that will bring me to where I need to be without adding ?q=user to the url?

einsteinsboi’s picture

If /user isn't working for you, try /?q=user at the end of your base url

maziak’s picture

You saved My life! :]

drupal_developers’s picture

type the url as

http://www.xxx.com/user (or)

http://www.xxx.com/user/login (or)

if the clean urls have not been enabled in the site make use of

http://www.xxx.com/?q=user (or)
http://www.xxx.com/?q=user/login

osk77’s picture

Hi, I am new to Drupal...also did the same thing by removing the login menu. This saved me!

searcher87’s picture

I'm did. www.xxx.com/?q=user => ok

humanoc’s picture

Is there any way to change this url for another?

yymoto2’s picture

You may goto 'Administer > site configuration > Clean URLs' to enable it, then the "/?q=user" will turned into "/user". (providing you have your Server's (Apache) mod_rewrite enabled).

drupalnoop’s picture

I did the following:

1. In Admin->Site Building->Blocks, just move the User Login block down to the Disabled blocks section.
2. While logged in as admin, I logged out (clicking the logout link in admin section) and went to http://www.xxx.com/?q=user (or)
http://www.xxx.com/?q=user/login

Results in:
Access denied
You are not authorized to access this page.

How do I get logged in as admin again?

Authentech’s picture

Entering www.sitename.com/?q=user will get you to a login page. To clarify, user = "user" not your username.

So for an example, if your website is abc.com and your username is abcadmin, you would enter "www.abc.com/?q=user" then enter your abcadmin name and password in the fields that pop up.

I hope this helps.

divyakrishnan’s picture

Im working in local host and I configured the settings in userlogin and finally the user/login block was removed. now i am not able to login. please help. too urgent please!!!

Mikilus’s picture

I am setting up my site. I would like only for the administrator to login to maintain the site. I cannot seem to get rid of the request account link

chriso’s picture

In Drupal 7, you'll find the link at this path:
http://your.domain.here/admin/config/people/accounts
Under "Who can register accounts?" set it to "Administrators only"

In Drupal 6, it is here:
http://your.domain.here/admin/user/settings
Under "Public registrations" set it to "Only site administrators can create new user accounts"

Note that this just removes the ability for anonymous users to request an account.

Mikilus’s picture

I am trying to configure the site, so there is no login for anyone except admins (maybe on a separate page) Does the module allow this? i.e. A user will not have a login option