Reputation: 1587
I have this issue in joomla where typing mydomain.com won't pull the website, I have to specify mydomain.com/index.php I must have done something silly, would anyone know how to fix this?
Upvotes: 0
Views: 2616
Reputation: 8178
It looks like you've adjusted your server settings (apache?), and the server is defaulting to using index.html if nothing is specified. Joomla uses an empty index.html file in most folders for security, so you'll need have your server default to index.php instead.
If you are using Apache, check the config (httpd.conf?), and change it to something like this:
DirectoryIndex index.php index.html index.htm default.htm
It occurred to me that you may not be able to change your apache config, so you can do it via htaccess instead: Create a text file called .htaccess containing that same line, and put it into your Joomla home directory. If you already have a .htaccess file there, be sure to add this command to the end of the file.
Upvotes: 1