Magento: Magento connect broken after moving to another path (www.example.com/test -> www.example.com)

The Magento Connect uses values stored in the directory downloader to know where to connect, where to save files etc. The problem is that these paths are hard coded into files at the installation of Magento.

If you wish to move your installation to a new path then this will break the Magento Connect in the admin panel.

The version that I find easiest to do on the new server is to log in using ssh and then run “./pear mage-setup .” That will reset the aboslute paths that are stored in the downloader directory.

Another option would be to re install magneto:

  • Upload a fresh copy of Magento onto the new server (don’t run the installer yet)
  • Copy over your Themes/Templates, Skins, Images, and Custom Modules
  • Dump the database from the original, and import the database to the new site
  • Run the installer – and enter all the necessary info
  • Go into the Magento Connect Manager, and install this extension: magento-core/Mage_All_Latest
  • One thought on “Magento: Magento connect broken after moving to another path (www.example.com/test -> www.example.com)

    1. hey there and thank you for your info ? I have definitely picked up anything new from proper here. I did however experience a few technical points using this web site, as I skilled to reload the web site many occasions previous to I could get it to load properly. I had been considering in case your web host is OK? Not that I’m complaining, however sluggish loading instances occasions will often have an effect on your placement in google and can harm your high quality ranking if advertising and marketing with Adwords. Well I’m including this RSS to my e-mail and can look out for much extra of your respective exciting content. Ensure that you replace this once more very soon..

    Comments are closed.