Issue with uploading

Status
Not open for further replies.

iceblitz

New Member
Messages
3
Reaction score
0
Points
0
Hi i have reciently bought your premium package and i have problems uploading to my host, i've uploaded my homepage but when i go to my site it displays.

~~index~~

homepage

images


How can i make it so it just shows my homepage and not the directory
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
You must put a file named "index" in the public_html folder. It can be index.html or index.php, whatever you are using. There are ways to use files named something else, but you have to use .htaccess to change this. You can also tell the server not to display your folder contents, which is generally best practice, by creating a file called .htaccess in you public_html folder or adding this line if the file exists:

Code:
Options -Indexes
 

iceblitz

New Member
Messages
3
Reaction score
0
Points
0

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
1. you could rename homepage.html to index.html

or do some .htaccess editing
HTML:
DirectoryIndex homepage.html
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
And also It is recommended that the filenames in small letters.

If you want to use capital letters in file names then you should use same in the .htaccess if you are going to use them.
 
Status
Not open for further replies.
Top