index page for joomla

abhi666

New Member
Messages
75
Reaction score
0
Points
0
hello
I am using joomla is a separate directory hence when i open my site
"www.mysite.exofire.net"
it displayes
index of.......... since there is no index page
now plz tell me how to put index page ie my home page of joomla(as index.html)
for once my account got suspended for this reason, not having index page


bye
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
you have to have the joomla in the main directory. or make the index file a php file and put this code.

PHP:
<PHP?
include("yourjoomlafolder/index.php")
?>
[php]
 

Synkc

Active Member
Messages
1,765
Reaction score
0
Points
36
If you want Joomla to be accessible from the root web directory, why not just install there?

You could also redirect the end user to the main page of your installation of Joomla by uploading a file called index.php to your "public_html" directory, which contains the line:

PHP:
<?php header("location: http://yourDomain.com/pathToJoomla/index.php"); ?>
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
There's an easy way to do this.
Just create a .htaccess in the directory and add the following line :-

DirectoryIndex index.php

It's that simple, well that just came out of the top of my head so i hope the code is right...
 

abhi666

New Member
Messages
75
Reaction score
0
Points
0
thank u all for the responses
Actually i thought of installing joomla in the root itself but i have gone with a separate directory. I have prepared the site almost so couldn't start again and so i asked this ques.
Well I got it know, i have uploaded the index.php file with the code given aboove to my public_html directory.
once again thank u all
 
Top