How do I move Joomla from a subfolder to my root folder?

Category: Joomla

davidkanegsberg
Asked:
2012-01-04 4:20 pm EST

Hits: 14,444
I have created a new website using joomla 1.7 and have it online with the extension /joomla. I now want to remove the /joomla so that the joomla site replaces my old website. Does anyone know how to do this?
Thanks

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by InMotion Hosting staff

0

Tim S.
Staff
9,967 Points
2012-01-04 4:34 pm EST
Hi davidkanegsberg,

Thanks for posting your question. I'm more than happy to help you today. It's actually easier than you think to move your Joomla website from a subfolder to your web root.

Basically, the first thing you'll need to do is copy all the files from the /joomla folder to your public_html folder (or if this is an add-on domain to the root folder for that domain). This can be accomplished by using File Manager in cPanel or a FTP program such as FileZilla.

Next, now that you have copied or moved all the files over from the /joomla directory to your root folder, you'll need to make a few changes to the configuration.php file.

Edit the configuration file using File Manager (right click on the file and select "code edit") and remove the reference to the /joomla sub folder from the $log_path and the $tmp_path code.

Once you've made those changes to the configuration.php file you should be able to access your website without going to the /joomla folder.

I hope this helps! If you need further assistance please feel free to contact us.

Thanks!

Tim S

You must login before you can post a comment about this answer.

Check your .htaccess. The subfolder should be removed there as well.

If you have cache enabled, login to the administrator backend (which will now be at http://www.yoursite.com/administrator and not http://www.yoursite.com/tryjoomla/administrator). Go to Tools -> Clean Cache and delete all cache files.
einvents
3 Points
2013-08-26 12:56 am EST
Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!