Merci Mike
En fait il faut utiliser ce code avec Joomla 3.0 :
if (($this->error->getCode()) == '404') {
header('Location: /index.php?option=com_content&view=article&id=239');
exit;
}
Thank you Mike
In fact you must use this code with Joomla 3.0:
if (($this->error->getCode()) == '404') {
header('Location: /index.php?option=com_content&view=article&id=239');
exit;