move joomla installation to another folder

Joomla version 1.0 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
seco
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Jan 18, 2007 8:24 am

move joomla installation to another folder

Post by seco » Mon Apr 16, 2007 9:36 am

hi

i have installed joomla successfully ..
now i need to move it to another folder on the server. what i should do now? any thing to be changed before moving the files?

thanks in advance.

Physicist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Apr 14, 2007 9:16 am
Location: Armenia
Contact:

Re: move joomla installation to another folder

Post by Physicist » Mon Apr 16, 2007 9:45 am

You need to copy all the Joomla! files to the new folder.
And then change in the file configuration.php variables

Code: Select all

$mosConfig_absolute_path = '...';
$mosConfig_cachepath = '...';
$mosConfig_live_site = 'http://...';
with the new values.
Denis Ryabov, JED Checker Developer, Page Speed Optimizer Developer, Mobile Developer.

seco
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Jan 18, 2007 8:24 am

Re: move joomla installation to another folder

Post by seco » Mon Apr 16, 2007 1:43 pm

thanks for reply

are you from russia? :)

Physicist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Apr 14, 2007 9:16 am
Location: Armenia
Contact:

Re: move joomla installation to another folder

Post by Physicist » Mon Apr 16, 2007 5:49 pm

Yes.  :)
Denis Ryabov, JED Checker Developer, Page Speed Optimizer Developer, Mobile Developer.

User avatar
Busby
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Sat Feb 10, 2007 10:07 pm
Location: Isle of Man
Contact:

Re: move joomla installation to another folder

Post by Busby » Mon Apr 16, 2007 10:10 pm

Can I ask a couple of questions also please?

First, how do I copy the files from my 'joomla' directory to the root, in other words, what programme should I use?

Second, what programme should I use to edit the 'configuration.php' - can I just use notepad?

Sorry, but I know very little about this type of thing!  :'(

Thanks..
http://www.1mix.co.uk 1Mix Radio - its all about the music..
http://www.onemix.co.uk/j4/ Development site

Physicist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Apr 14, 2007 9:16 am
Location: Armenia
Contact:

Re: move joomla installation to another folder

Post by Physicist » Tue Apr 17, 2007 5:53 am

Busby wrote:First, how do I copy the files from my 'joomla' directory to the root, in other words, what programme should I use?
If you have FTP-access to the site, you can use any FTP-client for this purpose. For example, I prefer the Far Manager.
PS. Far is file manager that allows work with FTP as with the usual folder.
Busby wrote:Second, what programme should I use to edit the 'configuration.php' - can I just use notepad?
Yes, you can edit it in any text editor.
Last edited by Physicist on Tue Apr 17, 2007 6:06 am, edited 1 time in total.
Denis Ryabov, JED Checker Developer, Page Speed Optimizer Developer, Mobile Developer.

User avatar
Busby
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Sat Feb 10, 2007 10:07 pm
Location: Isle of Man
Contact:

Re: move joomla installation to another folder

Post by Busby » Sat May 12, 2007 9:20 pm

Hi Denis thanks for your reply..

You'll be glad to here everything went OK so I thought I would post back on here for the benefit of any newbies like myself, to see how to do it the 'easy' way..

First, I logged onto my site ftp://ftp.mysite.co.uk/public_html/joomla/, highlighted the contents of the folder and dragged them to a 'temp' folder on my local machine. When the operation was complete, I navigated to the ftp://ftp.my site.co.uk/public_html folder and copied them back.

I then opened configuration.php on my local machine in Notepad and edited out the /joomla/ entries, I think there were 3, and saved it.

Finally, I uploaded configuration.php back to my site, removed the redirect [index.html] and, touch wood, everything works! Much to my relief.

Many thanks, once again, for your help..
http://www.1mix.co.uk 1Mix Radio - its all about the music..
http://www.onemix.co.uk/j4/ Development site

wwillnow
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Aug 09, 2007 11:48 am

Re: move joomla installation to another folder

Post by wwillnow » Sat Nov 10, 2007 7:12 pm

*Edit* I posted this in the wrong thread. Sorry
Last edited by wwillnow on Sun Nov 11, 2007 9:29 pm, edited 1 time in total.

User avatar
Busby
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Sat Feb 10, 2007 10:07 pm
Location: Isle of Man
Contact:

Re: move joomla installation to another folder

Post by Busby » Tue Feb 24, 2009 9:41 pm

Sorry to re-open such an old post but I have a problem..

I have recently moved host and gone through this process again. I have renamed $mosConfig_cachepath and $mosConfig_live_site and it seems to work but when I rename $mosConfig_absolute_path I just get an error message pointing to the origional folder where the site was moved from..

There must be another reference in Joomla still pointing to the origional destination..

Can anybody help please?
http://www.1mix.co.uk 1Mix Radio - its all about the music..
http://www.onemix.co.uk/j4/ Development site

prhammer
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Mon Jul 07, 2008 4:45 pm

Re: move joomla installation to another folder

Post by prhammer » Fri Apr 24, 2009 10:57 pm

I have personally found JoomlaPack to be very helpful when moving Joomla to a new host.

Maybe I'm being way to simplistic - but did you move your Mysql database? When moving on the same host you don't need to move the database, but when you move to a new host you do. It sounds like when you first moved it that the new location may have been still able to find the database on the old site.

That's what's nice about JoomlaPack - does the database move as well as the joomla folders. If you still have access to the old site, you might want to try it.

http://extensions.joomla.org/extensions ... 06/details

-Ron

mindo1
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Apr 26, 2009 1:33 pm

Re: move joomla installation to another folder

Post by mindo1 » Sat May 02, 2009 2:18 pm

This may be a bit off subject, but I´ve done all of the above. Have site twice one same host. Once in english and once in spanish. The spanish site is in an add-on domain and works as if independent. It´s up and the homepage looks just right, administrator works and everything. However, mainmenu buttons do not work, just get 404 error pages. The pages they link to come up in the administrator and say that they are linked to the mainmenu, it even let me translate the names of the menu buttons... They simply fail when clicked. Any ideas?

sethtc
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu May 07, 2009 1:08 am

Re: move joomla installation to another folder

Post by sethtc » Fri Jun 18, 2010 11:15 pm

Um, yeah, i'm stuck on this too. installed and built site on one subdirectory, but then moved to another directory folder. now the administrator backend won't do any functions in the menubar or the "save, cancel, apply" bar. i looked at the errors, and it's not locating: mootools.js, joomla.javascript.js, rokbox.js rokbox-style.css, menu.js, index.js anywhere.... why did this break?


Locked

Return to “Installation - 1.0.x”