I want to write a rewrite rule that is only activated if the url is a 404. Does anyone know how I would go about doing that?

1 Answer 1


Magento 404 page redirection rules:

  • If Magento admin set A Cms page as 404 page.then it hit Mage_Cms_IndexController at noRouteAction().
  • Else,if redirect to Mage_Cms_IndexController at defaultNoRouteAction()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.