InMotion Hosting Support Center

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

Category: Joomla

2012-01-04 4:20 pm EST

Hits: 16,617
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?

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


Tim S
13,821 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 <a href="">File Manager in cPanel</a> or a <a href="">FTP program such as FileZilla</a>.

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.


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 and not Go to Tools -> Clean Cache and delete all cache files.
3 Points
2013-08-26 12:56 am EST
Like this 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!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


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:
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!