Answers for "joomla redirect"

PHP
0

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'");
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language