static function getStrippedUrl()
{
$href = JURI::current();
$juri = JURI::getInstance();
// Delete some common, unwanted query params to at least try to get at the canonical URL
$juri->delVar('fb_comment_id');
$juri->delVar('tp');
$juri->delVar('notif_t');
$juri->delVar('ref');
$query = $juri->getQuery();static function getStrippedUrl()
{
$href = JURI::current();
$juri = JURI::getInstance();
// Delete some common, unwanted query params to at least try to get at the canonical URL
$juri->delVar('fb_comment_id');
$juri->delVar('tp');
$juri->delVar('notif_t');
$juri->delVar('ref');
$juri->delVar('fb_source');
$juri->delVar('fb_action_ids');
$juri->delVar('fb_action_types');
$juri->delVar('fb_aggregation_id');
$query = $juri->getQuery();Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
