header('Location: ' . str_replace('&','&',$url), true, '301'); // redirect and kill of and &
jexit(JText:: sprintf('"%s" has moved to <a href="%s">%s</a>. Click the link if your browser does not redirect you automatically.', $name, $url, $url));