We have a multi-store Magento installation with stores in several countries. Today, we changed the default store setting from one store to another. After saving this setting, the admin URL for the installation (http://store.OURWEBSITE.com/admin) no longer worked.
I suspect that this is an .htaccess problem. Does anyone know the direct link, i.e., http://store.OURWEBSITE.com/p=admin, that will let us access the admin to change this back?
Thanks!
I’ve run into similar issues before. The way I got it fixed is to make sure that the Base URL and Secure Base URL of the “default configuration” are set to the same value as the Base URL and Secure Base URL of the website that is set as default.
If you can’t access your admin anymore you can go into your database and edit the values directly in the table
core_config_data. You need to look for the pathweb/unsecure/base_urlandweb/secure/base_url. The “default configuration” hasscope_idzero.