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"> <rel>canonical</rel> <href>www.oldsite.com</href> </action> </reference>
in the home page layout xml, not matter which url I use, it will redirect to the old site (eg. oldsite.com) like 127.0.0.1/newsite redirects to oldsite.com, 127.0.0.1/newsite/admin to oldsite.com/admin.I have changed both basic urls in database to 127.0.0.1/newsite, 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?