Page 1 of 1

Subdomain to Main Domain Joomla site

Posted: Fri Apr 26, 2019 2:34 pm
by malloryw
I have a Joomla site on a main domain and another one on a subdomain of that site. I'd like to move the subdomain to be the main domain. I was planning to delete the folders in the public_html directory of the main domain and then replace them with the corresponding folders from the subdomain. I was just wondering.. is there anything else I need to plan on doing to make sure it's the new site that shows when I enter the main domain URL and not the old site? The sites have separate databases if that matters.

Re: Subdomain to Main Domain Joomla site

Posted: Fri Apr 26, 2019 2:51 pm
by djadan
If you don't need the site that's on the main domain ie it's being replaced by the one on the subdomain you should just be able to move the "main" files into a folder called _SAFE or _old and move the subdomain files in. Probably safest not to delete anything till you've tested everything.

Re: Subdomain to Main Domain Joomla site

Posted: Sat Apr 27, 2019 5:31 am
by infograf768
+ evidently correcting the configuration.php to get the right urls.

Re: Subdomain to Main Domain Joomla site

Posted: Sat Apr 27, 2019 6:53 am
by Per Yngve Berg

Re: Subdomain to Main Domain Joomla site

Posted: Mon May 06, 2019 4:16 pm
by malloryw
Thank you! I did not know about correcting the configuration.php file so I will be sure to do that as well. I appreciate the suggestion not to delete the main site right away, I will be moving it into an "old" folder.