[-] FO: Fix #PSCFV-5359 do not redirect to canonical url on 404 error

This commit is contained in:
rGaillard committed 2012-11-15 09:43:07 +00:00
1 parent 0fea2d5829
commit 5ee4949e73
1 file changed
+5
@@ -42,5 +42,10 @@ class PageNotFoundControllerCore extends FrontController
$this->setTemplate(_PS_THEME_DIR_.'404.tpl'); $this->setTemplate(_PS_THEME_DIR_.'404.tpl');
} }
public function canonicalRedirection($canonical_url = '')
{
// 404 - no need to redirect to the canonical url
}
} }