Open Sky Web Design  
  Login or Register
::  Home ::  Entrance  ::  Resume  ::  Portfolio  ::  Tutorials  ::
MAIN MENU
· Home
· About Us
· Contact Us
· Downloads
· JOOMLA Tutorials
· PHP-nuke Tutorials
· Portfolio
· Privacy Policy
· Recommend Us
· Search
· Statistics
· Submit News
· Web Design Tools
· Web Host Reviews
 
Moving a JOOMLA site
Applies to versions 1.0.x only



To move your Joomla site from from one folder to another:

  • Copy over your files, either via ftp or SSH/command line (make sure you get the .htaccess file)

  • Edit your configuration.php file to reflect the new values. Specifically the following:



           $mosConfig_absolute_path = '/your absolute path';

           $mosConfig_live_site ='http://www.yoursite.org';

           $mosConfig_cachepath = '/your absolute path/cache';


  • Make the necessary directories writable, see:


                 http://help.joomla.org/content/view/39/132/




If you are moving to a different host then you also need to set up and copy over the mySQL database on the new server and change these variables in the configuration file:

   $mosConfig_db = 'databasename';
   $mosConfig_host = 'mysqlhost'; (usually localhost)
   $mosConfig_password = 'password';

also check the htaccess file and parameter settings on the new host.



If it is Ecommerce or a busy user site, so that you do not want any overlap between the 2 sites on the web: get another domain name and use that at the new host.
  • In configuration.php file make the following variable in configuration.php point to the temporary domain name
           $mosConfig_live_site ='http://www.yoursite.org';
Once the new domain is all tested and working, you will take the old site "down for maintenance for about 15 or 20 min. You may want to post a warning a few days ahed of time that the site will be down for maintenance on such and such a date and time. Look in your statistics to see when a low usage time is that is convenient for you. So:
  • Put a down for maintenance message in the 404 and index file on the old (current) site. It is good to put the time you expect to be back up on these pages. There are also some cool countdown scripts around on the web which can be fun to use.
  • Delete all the other files so no one can get on via an internal page.
  • Take a copy of the current database
  • Load the database up on the test site, overwriting the previous data. (use the Bigdump utility if import is too large for phpmyadmin, i.e. it times out)
  • Use a whole site redirect in the htaccess file on the current host to redirect to the new domain name
  • Go to the registrar and redirect the domain name to the new host
  • Two days later in the configuration.php file change this variable to the real domain name
           $mosConfig_live_site ='http://www.yoursite.org';










Copyright © by Open Sky Web Design All Right Reserved.

Published on: 2008-06-15 (7127 reads)

[ Go Back ]


All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest 2005 by Open Sky Web Design.

You can syndicate our news using the file backend.php or ultramode.txt
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.122 Seconds


:: OpenSky phpbb2 style by Bman1 :: PHP-Nuke theme adapted by OpenSkyWebDesign from Bman1Blue by www.nukemods.com ::