Finding your absolute path

What is my absolute path?

The absolute path is the directory location on a server's hard drive where Joomla! is located. In Joomla! v.1.0.x the configuration.php file would be something like the following, however, it can vary depending on your server.

$mosConfig_absolute_path = '/home/joomla/public_html';

To find out what your absolute path is, copy the following code into a text editor (i.e. Notepad, TextEdit etc), save the file as a .php naming it whatever you want (i.e anyfilename.php.).

Using your FTP software, ftp the file you have just created to your root folder. Open a web browser and type in

$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;

IMPORTANT: For security reasons, delete this file as soon as you have ascertained the information you require.

XYZulu Hosting Blog

  • Backups are something for another time, right? Unfortunately, this viewpoint will leave you in quite a difficult situation when ‘another time’ turns out to be the downtime (system or device failure, or a system compromise) you experience due to not having a backup system in place. Just how important are backups, and how easy are […]

  • You open up your phone/tablet/computer in the morning and notice the familiar “update available” notification. Should you just put off the update to another time? Or do you worry that if you update, it may create other issues for you? Read on for the important things you should consider. The short answer is YES, you […]

  • First of all, what even is SSL/HTTPS? You can read the nitty-gritty over on Wikipedia if you like, but basically SSL/HTTPS refers to a secure connection to a website. You will have seen it being used on many other websites. A (usually) green padlock icon next to the domain name you are visiting (lookup and see it […]

  • If you own a domain name, sooner or later you will receive domain renewal notices. Sometimes emails about retaining your spot on search engines will also be sent to you. How do you know if these are legitimate? Read on and we’ll try to explain. Please note, your domain name is a VERY important part of […]

  • Do you use the same password on more than one website? If so, this is the post for you. While many people use a strong password for their internet banking for example, they reason that using the same weak passwords on other websites is not a big deal. However, just imagine the time you would […]