Magento – Magento Connect Manager login loop

ce-1.7.0.2cookiemagento-connectsession

When trying to install new extensions through Magento Connect Manager, the page shows a login prompt. Upon logging in the page will just reload without installing or doing anything. The same behavior happens when trying to update existing extensions.

I have tried various solutions and nothing seems to work. Please help.

I should also mention that this site was moved to a different IP and domain name than that of the original.

Best Answer

First, start with @thebod's answer and check the base_url settings. But for me, I also had to put the domain in

 System > Configuration > General > Web > Session Cookie Management > Cookie Domain.

Many features of Magento will work with this field empty, but I had to put my domain in that field to get Magento Connect Manager to not do a login loop.