Page 1 of 1

[SOLVED] How to change installation directory?

Posted: Sat Jan 15, 2011 10:29 pm
by FettAffen
I have a shared Linux/Apache hosting account with GoDaddy and I used their (Joomla's?) installation method. Basically I clicked GoDaddy's "Install Now!" button and answered a few questions. This is Joomla! 1.5.22 Stable.

One of the initial questions was: what directory should Joomla be installed in?

Since I was a newbie (still?) and didn't want to disrupt my existing website, I had it installed into a directory different from the normal, preset directory; let's call mine "example." This means that to see my Joomla pages, one has to navigate to http://www.mysite.com/example/index.php

Now that I am comfortable with Joomla and have it looking/working the way I want, I want to "move" everything back to normal, i.e., http://www.mysite.com/index.php

I am aware of configuration.php and "var $live_site = 'http://mysite.com/example';" but beyond this I really don't know what else I have to change/do etc.

So will someone please help me with this? Thank you!

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 1:41 am
by ranwilli
The paths to /tmp and /logs are the other ones.

Should be no problem.

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 1:46 am
by Webdongle
If you have SEF activated then
RewriteBase /subfolder
to
RewriteBase /

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 1:49 am
by FettAffen
ranwilli wrote:The paths to /tmp and /logs are the other ones.

Should be no problem.
So... I move all the files and directories from /example to the "root" of my shared server? (Where my existing index.html presently resides)? (While also editing configuration.php.) That's all?

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 1:59 am
by Webdongle
Yes except that you need to delete the Joomla folders/files in the root first.(not your subdirectory).

If you use Filezilla ftp client
After deleting moving the Joomla folders/files from the root

Navigate to your Joomla folder
hi-lite all
left click
drag drop to the folder with the two dots ..

Then change those paths

Thats all you need to do.

60 secs max
Just be careful when deleting the folders/files in the root

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 2:09 am
by FettAffen
Got it. Thank you both for your help!

Re: How to change non-default installation back to normal?

Posted: Sun Jan 16, 2011 6:42 am
by FettAffen