joomla:redirect_to_a_different_page_component_article_etc
function Redirect($url, $permanent = false) { if (headers_sent() === false) { header('Location: ' . $url, true, ($permanent === true) ? 301 : 302); } else { echo "<script>location.href='".$url."';</script>"; } exit(); }
Simply redirect to a Joomla URL such as
index.php?option=com_content&task=view&id=123
/home/gen.uk/domains/wiki.gen.uk/public_html/data/pages/joomla/redirect_to_a_different_page_component_article_etc.txt · Last modified: 2019/05/20 10:13 by genadmin