This is an old revision of the document!


Unable To Redirect 404 Pages To Search Results

In Magento's default implementation, all 404 pages are treated as being identical with the full action name of the default “No-route Controller” being cms_index_noRoute. LiteMage's default configuration will cache the output for this controller.

If you have any extensions that change this default behavior, such as Mirasvit's Sphinx Search Ultimate which can redirect 404 pages to specific search results, you will have to change LiteMage's default configuration to not cache these pages.

In LiteMage's “config.xml” file under <default> » <litemage> » <default>, change the following from

<fullcache_routes><![CDATA[cms_index_noRoute]]></fullcache_routes>

to

<fullcache_routes></fullcache_routes>

Note: This change is not available through Magento's Admin Panel and must be set through LiteMage's configuration file. As such, you will have to manually apply this change to LiteMage's “config.xml” file every time you upgrade LiteMage to a new version.

  • Admin
  • Last modified: 2016/05/06 14:25
  • by Michael Alegre