[php] "Error 404 Not Found" in Magento Admin Login Page

I just transfered my magento installation from one local machine server to another. Now, I cannot login to admin panel. When I go to the admin login url, I get the following error message:-

"Error: 404 Not Found"

Some of my module's pages also show this error.

Can anyone please figure out the problem?

This question is related to php magento

The answer is


Thanks to all, for me this solution worked: Magento 404 page in backoffice after login


I have just copied and moved a Magento site to a local area so I could work on it offline and had the same problem.

But in the end I found out Magento was forcing a redirect from http to https and I didn't have a SSL setup. So this solved my problem http://www.magentocommerce.com/wiki/recover/ssl_access_with_phpmyadmin

It pretty much says set web/secure/use_in_adminhtml value from 1 to 0 in the core_config_data to allow non-secure access to the admin area