Joomla redireciona

$app = JFactory::getApplication();

$app->enqueueMessage('Redirect to another page was successful', 'success');
$app->redirect(JRoute::_('index.php'));

//or

$app = JFactory::getApplication();
$app->redirect("'http://google.com'");
Lucky Llama