Today, I have moved one website from our testing server to the client server and every thing was working fine. But the problem arises when I have cleared the cache from the Magento admin. After clearing the Cache it is redirected to the old url (testing server). After doing