2
votes

Magento is redirecting any 404 errors to the admin login. In the admin settings I have the no route setting set to a CMS page that I confirmed exists.

I have been fighting with this for a week. Cleared cache, reindex, rebuilt url rewrites, etc...

If there is a way to completely bypass magento handling 404 I can do this through htaccess just to get it working.

Ideas?

I also went through and disabled any custom modules I had installed to see if they were affecting it. No luck there.

Checked apache/php logs as well as both exception and system logs generated from Magento. Nothing.

2

2 Answers

2
votes

If you had experienced a "4xx Error", it means the error occurred on the user/client side. If you had experienced a "5xx Error", it means the error occurred on the server side.

404 Not Found

The requested resource could not be found but may be available again in the future.[2] Subsequent requests by the client are permissible.

I'm not sure, but it sounds like the error is in your controller. You are calling a controller action that doesn't exist.

1
votes

You has checked the settings?

Admin->System->Config->Web->Default Pages

Default No-route URL should be set to 'cms/index/noRoute'

The drop down beneath that show be your 404 page.

Of course you can put the noRoute to your own module, simply put 'yourmodule/yourindexcontroller/whateveraction' in the box.