trouble logging on to admin panel in magento on localhost

Posted on 2010-01-09
Medium Priority
Last Modified: 2013-11-18

I was having trouble installing magento, so I decided to copy another existing magento site (from another computer) and modify it to become my new site.

now, the frontend opens fine with the url: when I try to login to admin using the url: http://localhost/chefmaha/. When trying to access the backend using:  and then entering the username and password, I get automatically redirected to: http://www.batteryland.net/index.php/admin/admin/index/index/key/8549e0d93481130c6b17e7305cf6f98a/?SID=84dhf0cendhb6erfcuvdftt1u1

(which is the url of the admin panel of the online site which I copied the local version of)

then when I try to access: 
I get automatically redirected to:

what could the problem possibly be?
Question by:ChefMaha
1 Comment

Accepted Solution

ChefMaha earned 0 total points
ID: 26272373
solved it.

Just changed secure base url and unsecure base url  by altering the database table: core_config_data (changed them from http://www.batteryland.net/ to http://localhost/chefmaha/)

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Internet has made sending and receiving information online a breeze. But there is also the threat of unauthorized viewing, data tampering, and phoney messages. Surprisingly, a lot of business owners do not fully understand how to use security t…
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question