How to move joomla website

In this tutorial we will show how to move  Joomla website from one host/localhost to another.  Assume you have installed and modified Joomla template on localhost and wish to move it to the live host.

First step is upload Joomla files and directories.

  1. Make a backup of your Joomla website.  See backup tutorial.
  2. Login to Cpanel
  3. Go to File Manager.
  4. Select public_html director.
  5. Make sure the directory is empty. Upload all  files from backup by clicking on Upload button.

Second step is Import database.

  1. Login to Cpanel.
  2. Go to MySQL Database Wizard.
  3. Create New Database.
  4. Go to phpMyAdmin -> your database.
  5. Click Import in the top tool bar.
  6. Browse backup sql file and click Go.
  7. After the database is uploaded, the tables should appear under database.

Third step is Joomla configuration.

  1. login to Cpanel
  2. Go to File Manager.
  3. Select public_html directory.
  4. Select configuration.php and click edit on top tool bar.
  5. Find and enter your new database details in following lines:
    public $dbtype = 'mysql';
    public $host = 'localhost';
    public $user = 'database_user';
    public $password = 'password';
    public $db = 'database_name';
    public $dbprefix = 'jos_';
    
  6. Find and enter your new site URL in following line
    public $live_site = ‘domain.com';
    
  7. Edit the path for logs and tmp directory by editing these lines:
    public $log_path = '/home/username/domains/domain.com/public_html/joomla/logs';
    public $tmp_path = '/home/username/domains/domain.com/public_html/joomla/tmp';
    
  8. Save configuration.php file.
  9. Input your domain name in browser. You should see your Joomla website on live host now.

 

5 thoughts on “How to move joomla website

  1. Thank you for your interest to share this information. Here clearly tell that how to move joomla website and step by step process is shared hence which is a useful information.

Leave a Reply

Your email address will not be published.

*