[-] FO: Fix #PSCFV-5359 do not redirect to canonical url on 404 error
This commit is contained in:
@@ -42,5 +42,10 @@ class PageNotFoundControllerCore extends FrontController
|
||||
|
||||
$this->setTemplate(_PS_THEME_DIR_.'404.tpl');
|
||||
}
|
||||
|
||||
public function canonicalRedirection($canonical_url = '')
|
||||
{
|
||||
// 404 - no need to redirect to the canonical url
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user