cancel
Showing results for 
Search instead for 
Did you mean: 

Index.php not working

Evotion
Member

I installed Joomla, the CMS, on to the hosting account.

 

It brings up a 403 Forbidden error when trying to view the site or the admin panel as it obviously has an issue with the index.php, or more specifically, not finding an index.html file.

 

When I uploaded a blank index.html file and made it refresh to the index.php file then it 'works' but this is not exactl ideal of course.

 

How do I make it so that people can view the site as it was intended?

 

There was a thread referencing a similar problem and mentioning the .htaccess file but the site doesnt use one.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

duskjome
BT Partner
BT Partner
This would be something you can do with an .htaccess file. It would need the line "DirectoryIndex filename.html index.cgi index.pl default.htm index.php" without the quotation marks and with the file names replaced with whatever files you want the server to read by when you enter in the simple URL yourdomainname.com. If you do not have an .htaccess file installed on your domain at present all you need do is create a text file with the line mentioned above and upload it into your root or public folder. When renamed ".htaccess" it will perform any of the functions in the code.

View solution in original post

1 REPLY 1

duskjome
BT Partner
BT Partner
This would be something you can do with an .htaccess file. It would need the line "DirectoryIndex filename.html index.cgi index.pl default.htm index.php" without the quotation marks and with the file names replaced with whatever files you want the server to read by when you enter in the simple URL yourdomainname.com. If you do not have an .htaccess file installed on your domain at present all you need do is create a text file with the line mentioned above and upload it into your root or public folder. When renamed ".htaccess" it will perform any of the functions in the code.