php - Joomla home page not appearing in root

786

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

589

Answer

Solution:

what shows up isn't my Joomla home, but the apache default page.

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.

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).

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

394

Answer

Solution:

You can use the following to redirect your root folder to /joomla/:

RedirectMatch ^/$ /joomla/

People are also looking for solutions to the problem: php - HTTPS ajax requests

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.