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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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

770 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