How to get the Base URL using the Joomla! 1.5 API

H

Within the PHP code type in the following command

echo JURI::base();

This is a static method that returns the base URI of your Joomla site.

To read more about it click here

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me