My website still doesn't show...just a list of files

Status
Not open for further replies.

fossfami

New Member
Messages
17
Reaction score
0
Points
1
Hi, I changed all my files and changed my FossIndex.html to Index.html as I was told. However, when I go to my web page on the internet, it still just shows a list of files. What do I do now?
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Linux is CaSe SeNsAtIvE; index.html is not the same as Index.html. If you're developing the site on Windows, you may experience some problems because Windows doesn't care about case; index.html is Index.html is INDEX.HTML as far as it's concerned, but Linux will treat all three as separate files.

Once you rename it to index.html (all lowercase) it'll start working, but you may need to go rename other files as well - I usually recommend only using lowercase unless you've got a reason to do otherwise, as lowercase ensures the least amount of case confusion.
 

fossfami

New Member
Messages
17
Reaction score
0
Points
1
However, now my page is not displaying like it should at all. the pictures are not showing and the CSS attributes don't seem to be working properly. Any ideas? This is just when I go to my website. I have checked the html code and css code and they are good. And if I open the files up in Chrome of IE they work perfect. They just aren't displaying properly on the website.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
but you may need to go rename other files as well

Code:
<link href="foss.css" rel="stylesheet">

foss.css does not exist; Foss.css does (note the capital F). In the case of the home image missing, that's because it's Home.JPG, and you're looking for Home.jpg (per the source). This is why I'd recommend ONLY using lowercase for filenames; your entire site was built in Windows it looks like, which doesn't care if it's capitalized or not. Linux, the operating system running on our servers along with a vast majority of other webhosts, does.
 
Status
Not open for further replies.
Top