Search
Sponsored Links
| | Print | |
|
How do I move my Joomla Website from one directory to another? You may prefer to build your website in a test folder while you are developing your content and when your development is over, to move your Joomla website to the root folder of your hosting account. In this example I currently have my example web site hospitaladvice set up in a directory called joomlatest hospitaladvice.co.uk/joomlatest.
Before you move anything just check that you are not going to overwrite any content already in your root directory and I suggest you make copies and backups just incase anything goes wrong. If I had called the directory test then I would expect to see all my files and folders in the test directory. I now want to move all my files and folders up to the top level, sometimes known as the public_html (check with your ISP - Internet Service Provider first) directory so that it will be directly i.e. I want to be able to enter hospitaladvice.co.uk to see my site. For this example, let's imagine you are using Dreamweaver, It is not dissimilar if you are going to use something like WS_FTP Pro (an FTP program). If using a web development packages such as Dreamweaver, login to your server. You should see a list of folders and directories. In your test directory you will see all the files that are required to run Joomla. Select all the folders (some examples are):
etc so they are highlighted. Also select the files in your test directory (some examples are):
The next step is exactly the same as if you were going to move your files and folders on your PC. Drag all of the files and folders from your Joomla test folder to the new directory. In my example, from public_html/joomlatest to public_html. If you are using an FTP program follow the instructions for moving files. Now you will need to edit some of the files to tell Joomla where it is saved. You will see a file called configuration.php which you will need to open and make the following changes to it. This file tells Joomla all the settings for it to be able to run correctly. If you are nervous about doing this then as I have suggested make a copy of your site first. You may find my examples below are slightly different from your settings on your server but what we are doing here, is changing all references to our test directory and making Joomla look in the root directory. Some examples to look for are: your var $tmp_path might read: /home/myaccount/domains/yourwebsite.co.uk/public_html/joomlatest/tmp You need to edit: var $tmp_path = '/home/hristopa/public_html/joomlatest/tmp'; To: var $tmp_path = '/home/hristopa/public_html/tmp';
var $ftp_root = '/public_html/joomlatest; To: var $ftp_root = '/public_html';
var $live_site = 'yourwebsiteaddress.co.uk/joomlatest'; To: var $live_site = 'yourwebsiteaddress.co.uk'; Check that all the references made to your test directory are edited. e.g: yourwebsiteaddress.co.uk for this example
If you want to get started quickly then Subscribe to my Free Joomla! Tutorials by clicking on the link below: Get your FREE Joomla! Tutorials now by clicking this link! |
Useful Links
Using Joomla!







