how to show joomla site on main www?

Asked by:
rogersa / 29 Points
Time:
2012-06-22 5:33 pm EST
Category:
Joomla
Hits:
724
I put joomla in a sub directory, now how do I get it to show on main www.sitename.com?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
13,242 Points
2012-06-25 8:57 am EST
Hello Rogersa,

You will need to move the Joomla installation up to the main directory in order to display it as your www.sitename.com and not www.sitename.com/subfolder

1. Move all of the files and folders from your Joomla folder to the root directory. In your case from public_html/subfolder to public_html

2. Reconfigure your settings in your application. You will need to edit your configuration.php file and make the following changes:

Change from: var $log_path = '/home/user/public_html/subfolder/logs';
To: var $log_path = '/home/user/public_html/logs';

Change from: var $tmp_path = '/home/user/public_html/subfolder/tmp';
To: var $tmp_path = '/home/user/public_html/tmp';

Change from: var $ftp_root = '/public_html/subfolder';
To: var $ftp_root = '/public_html';

Change from: var $live_site = 'http://www.sitename.com/subfolder';
To: var $live_site = 'http://www.sitename.com';


I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share 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!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.