[SOLVED] How to change installation directory?

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
FettAffen
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 15, 2011 10:03 pm

[SOLVED] How to change installation directory?

Post by FettAffen » Sat Jan 15, 2011 10:29 pm

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!
Last edited by FettAffen on Sun Jan 16, 2011 7:44 am, edited 2 times in total.

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

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

Post by ranwilli » Sun Jan 16, 2011 1:41 am

The paths to /tmp and /logs are the other ones.

Should be no problem.
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Sun Jan 16, 2011 1:46 am

If you have SEF activated then
RewriteBase /subfolder
to
RewriteBase /
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

FettAffen
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 15, 2011 10:03 pm

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

Post by FettAffen » Sun Jan 16, 2011 1:49 am

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?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Sun Jan 16, 2011 1:59 am

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
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

FettAffen
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 15, 2011 10:03 pm

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

Post by FettAffen » Sun Jan 16, 2011 2:09 am

Got it. Thank you both for your help!

FettAffen
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 15, 2011 10:03 pm

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

Post by FettAffen » Sun Jan 16, 2011 6:42 am



Locked

Return to “Installation 1.5”