Saturday, September 22, 2012

How to Get URL of current page and base URL in Joomla!

Joomla API use JURI Class for URLs.

  • JURI::current() This will return current page URL.
  • JURI::base() this will return you the base URL of your Joomla Site.
Disqus Comments