move joomla installation to another folder
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.
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.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Jan 18, 2007 8:24 am
move joomla installation to another folder
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.
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.
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
Re: move joomla installation to another folder
You need to copy all the Joomla! files to the new folder.
And then change in the file configuration.php variables
with the new values.
And then change in the file configuration.php variables
Code: Select all
$mosConfig_absolute_path = '...';
$mosConfig_cachepath = '...';
$mosConfig_live_site = 'http://...';
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Jan 18, 2007 8:24 am
Re: move joomla installation to another folder
thanks for reply
are you from russia?
are you from russia?
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
- Busby
- Joomla! Enthusiast
- Posts: 145
- Joined: Sat Feb 10, 2007 10:07 pm
- Location: Isle of Man
- Contact:
Re: move joomla installation to another folder
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..
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
http://www.onemix.co.uk/j4/ Development site
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
Re: move joomla installation to another folder
If you have FTP-access to the site, you can use any FTP-client for this purpose. For example, I prefer the Far Manager.Busby wrote:First, how do I copy the files from my 'joomla' directory to the root, in other words, what programme should I use?
PS. Far is file manager that allows work with FTP as with the usual folder.
Yes, you can edit it in any text editor.Busby wrote:Second, what programme should I use to edit the 'configuration.php' - can I just use notepad?
Last edited by Physicist on Tue Apr 17, 2007 6:06 am, edited 1 time in total.
- Busby
- Joomla! Enthusiast
- Posts: 145
- Joined: Sat Feb 10, 2007 10:07 pm
- Location: Isle of Man
- Contact:
Re: move joomla installation to another folder
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..
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
http://www.onemix.co.uk/j4/ Development site
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Aug 09, 2007 11:48 am
Re: move joomla installation to another folder
*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.
- Busby
- Joomla! Enthusiast
- Posts: 145
- Joined: Sat Feb 10, 2007 10:07 pm
- Location: Isle of Man
- Contact:
Re: move joomla installation to another folder
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?
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
http://www.onemix.co.uk/j4/ Development site
-
- Joomla! Apprentice
- Posts: 27
- Joined: Mon Jul 07, 2008 4:45 pm
Re: move joomla installation to another folder
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
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
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sun Apr 26, 2009 1:33 pm
Re: move joomla installation to another folder
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?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu May 07, 2009 1:08 am
Re: move joomla installation to another folder
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?