php - Joomla home page not appearing in root
I've installed Joomla (running on Ubuntu 14.04) according to the default installation guidelines. My problem is that now when I navigate to my domain (insertdomainhere.com) what shows up isn't my Joomla home, but the apache default page. At the moment I have to navigate to insertdomainhere.com/joomla to view my Joomla page. What I'd like to do is set it so that when I navigate to insertdomainhere.com my Joomla page appears (as opposed to .com/joomla). Any and all help is greatly appreciated. Cheers, Ryan
Answer
Solution:
This is because you've uploaded Joomla! in
/joomla
and not in the default directory (/var/www/html
). This would result in Apache showing the default page.You should move your Joomla! installation to the root directory of your web server or put this in an
.htaccess
file in the root directory:Redirect 301 / /joomla
Answer
Solution:
You can use the following to redirect your root folder to /joomla/: