I have the SEF URL delivered to my plugin, which is actually the $_SERVER['HTTP_REFERER'] global variable and need to find the internal NON-SEF URL for this variable.
I have started reverse engineering the JRoute and router.php part of Joomla, but thought someone might help direct me to the answer easily?
Below is my code so far: -
Code: Select all
$Referer = $_SERVER['HTTP_REFERER'];
$Internal_Referer = ????;
I'm not sure if I need to use jimport/directly import the router.php?
Any help much appreciated.