While developing on on Magento, it is a good way to manage variables using htaccess file based on the domain being used. e.g. we can set developer mode for locally developed site based on domain. This reduces possibility of accidently enabling developer mode on production environment.
Today I was setting up Magento with sample data and the default admin wouldn’t let me in the Magento backend. And because I was on windows I was unable to get the email from ‘Forgor your password link’ Here is what I did to unlock the admin user. The file ‘app\code\core\Mage\Adminhtml\IndexController.php’ contains the ‘forgotpasswordAction’ which [...]
While working on different website projects on localhost, I found it very difficult to manage the sites in single document root. Even it requires to remember and type long urls in browser. So I decided to setup virtual servers for each projects, it is very convenient when we, as web developers, have virtual server dedicated [...]