Kopier nedenstående kode til din error.php i din template
Kik på denne artikel, den er ret sigende, og det er ret nemt.
https://docs.joomla.org/Creating_a_Custom_404_Error_Page
Og her under er der det som skal stå i den fil... bare selt ALT og sætte dette ind.
<?php
defined('_JEXEC') or die;
$url = JURI::root().'dit-alias-her';
if ($this->error->getCode() == '404')
{
header("HTTP/1.0 404 Not Found");
$html = '';
if (ini_get('allow_url_fopen'))
{
$html = @file_get_contents($url);
}
else if (function_exists('curl_version'))
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$html = @curl_exec($ch);
curl_close($ch);
}
if (empty($html))
{
$html = '<h1>404 - Page not found</h1>';
}
die($html);
}
?>