[-] FO: Fix #PSCFV-5359 do not redirect to canonical url on 404 error
This commit is contained in:
1 parent
9c68663825
commit
1b9a40489f
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user