PDA

View Full Version : Moving Joomla from Sub-Domain



lynex1
11-17-2008, 11:23 AM
I recently created a Sub-domain and built a website with Joomla.
Now I want to make it my main Domain site. how do I go about moving it?

txm
11-17-2008, 02:55 PM
Just select all files and folders assigned with the Joomla CMS and move them to the folder you want them.

lynex1
11-17-2008, 04:14 PM
Thanks txm..

Do I have to make any changes to the configuration file?

txm
11-17-2008, 04:57 PM
Well I`m not sure but take look , I think only the directory where the files are moved that`s all. Actually when you move the files and access your site It will display an error message that he is not able to find the dir and in which file and line so It is easy to track and fix :)

pghcollectibles
11-18-2008, 01:10 AM
http://www.hostmonsterforums.com/showthread.php?t=4533

shadmego
11-18-2008, 08:26 AM
The post pgh referenced is only if you want to keep your Joomla! installation in the subfolder, but want it look as if it is not in a subfolder.

Basically, the post referenced above will wind up working like this:

Your Joomla! site is in public_html/joomla. In a browser, it would look like this:

www.yourdomain.com/joomla

You want to keep Joomla! in the same subdirectory, but you want the url to read:

www.yourdomain.com

In this case, you would read and follow the instruction in the link pgh provided.

If you want to move the Joomla! installation to a different folder, you will have to move all the files and folders associated with the installation, as was mentioned and then change a few variables in the configuration.php file.

If you are using Joomla! 1.5.X, then you will want to modify the following variables to reflect the directory structure changes:



var $log_path
var $tmp_path
var $ftp_root


If you are using the older J!1.0.X series, then there are other variable you will have to change.

~regards

lynex1
11-18-2008, 10:45 AM
Thanks all,

I have moved it to publicHtml folder (Domain root) it seems to work fine, but Can I now delete the previous Joomla files in the subdomain?

FYI- I did have to change some settings in Joomla Admin Global Configuration panel. but everything else seems to work fine.

Let me know if it will be safe to delete the joomla files in the sub-domain.

thanks

pghcollectibles
11-20-2008, 02:08 PM
as long as you have gone to the new url and it works there is no need to keep the old files

lynex1
12-07-2008, 12:24 PM
I will try that, thanks for all your help.