Unable to get to Magento backend after changing default website

by | Jun 20, 2011 | 0 comments

You’ve changed the default website to something other than the base URL and now cannot get into the backend.

The quick and simple way to get back into the backend of your Magentoinstallation is by turning off the Redirect to Base URL setting.

Of course, you ask…but how? Without backend access? Here’s the solution:

  1. Go into your Magento MySQL database
  2. Find the table yourownprefixhere_core_config_data
  3. Row 12 should be ‘web/url/redirect_to_base’
  4. Change the value from 1 to 0
  5. Enter your original base URL in your browser and the appropriate admin trailer (i.e. /admin)

You can now change settings back to before the collapse.