Magento ‘404 error: Page not found’ fix

The resons for this issue can be quite a few. The issue itself however has the same root in most of the cases. If this error appears, chances are you will nor have access to magento’s admin area either, so reverting the changes which lead to the problem is out of the question. This is literally a 2 minute fix and is quite easy for everyone. Simply open Magento’s index.php file for editing (this can be done either via cpanel’s File manager or by downloading the file via FTP and edit it on your local computer).  Near the end of the file you will find the following:

umask(0);
Mage::run();

Simply replace it with:

umask(0);
Mage::run(’default’);

Since Magento uses a cache sistem, there is a chance it cached the error, so the fix will not work instantly. To work your way around this, delete the content of the /var/cache folder and refresh your tore. Voila! it is now working as it used to :)

Bookmark and Share

  • No Related Post
bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top  banner ad


One Response to “Magento ‘404 error: Page not found’ fix”

  1. Andy says:

    This worked great, very simple thanks!

Leave a Reply