How to redirect using the Joomla API
// joomla 2.5 $app = JFactory::getApplication(); $link = 'http://www.domain.com/'; $msg = 'You have been redirected to domain.com'; $app->redirect($link, $msg, $msgType='message');