Skip to content

dart-creations.com

Advertisement
Home arrow Joomla arrow Joomla Tips and Tricks arrow #46 - Finding the Joomla Absolute Path
Print E-mail
Friday, 17 October 2008

#46 - Finding the Joomla Absolute Path

One of the very first thing you need to do when installing Joomla 1.0 is to find the absolute path. This is basically the folder on the hard disk where Joomla will be installed. When you buy your hosting account from a web hosting company, you may not always know the exact path, because this will be hidden, and the path varies from company to company, from server to server and from account to account. So you'll need to discover it before you even start installing. Thankfully, this is not a very difficult thing to do.

Create a file named absolutepath.php using Notepad or any other text editor and in it place the following code:

<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>

Using your FTP software, upload the file to your hosting account. Open your browser and type inhttp://www.yourdomain.com/absolutepath.php.

Once this is done, delete the file because this will create a security problem.

Thankfully, Joomla 1.5 does this transparently without any involvement from the user.

Comments
Search RSS
ynitsun   |213.8.159.xxx |2009-11-22 13:41:00
so im trying to figure out how to change the configuration file once i uploaded
my joomla website from a localhost to a web server and i need to write a path
for the logs and for the tmps. i used joomla 1.5. would you be able to help
me?
thanks!
DART   |78.133.14.xxx |2009-11-23 21:49:35
This code here should work and help you find the absolute path with Joomla 1.5
too. Then simply add /tmps and /logs to the path.
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Tuesday, 01 September 2009 )
 

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!

Sponsors

Login Form






Lost Password?
No account yet? Register

Generated in 0.25770 Seconds