I use same magento application and database (like copy and paste) on another server(eg. a development server). It seens like a succeed implementing to the new server, but possibly because I have hardcoded

 <reference name="head">
 <action method="addLinkRel">

in the home page layout xml, not matter which url I use, it will redirect to the old site (eg. oldsite.com) like redirects to oldsite.com, to oldsite.com/admin.I have changed both basic urls in database to, but nothing help. Could it be the canonical link or something else? If it is canonicall link , how can I change it, when I cannot login to the admin?

  • 1
    Please clear cash in var folder & also truncate all log tables in database – Abdul Oct 30 '15 at 7:09

You need to change all the rows in the table core_config_data where the path is web/secure/base_url and web/unsecure/base_url to the url you are using on your development server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.