Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

joomla redirect

$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'");
 
PREVIOUS NEXT
Tagged: #joomla #redirect
ADD COMMENT
Topic
Name
8+9 =