Wednesday 21 September 2011

Index.html question for website creating?

When i tried to access my new site via the web i get an 'index of/' page (which I do not want). Apparently I have to 'change the name of my page' to index.html...... Now, I am completely computer illiterate. Can anyone elaborate on what this means? Where do i go to change what name and what do I do then? By the way, Im using Blue Voda. Thanks for all the help folks! Ur really saving my skin here.Index.html question for website creating?The 'Home Page' of any site has got to be named 'index.html' because that is what all computers are programmed to look for first. This is because most home pages will have many sub-directories and other pages and there has to be a 'home base' sort of page.



So then, the home page would be%26quot; http://Whatever/index.html%26quot; and the sub-directories/other pages would be:

http://Whatever/Page2.html

http://WhateverPage3.html

http://Whatever/Pictures.html

http://Whatever/MP3s.html etc., etc.



Also, when you create your sub-directories, be sure to name one of the files in there %26quot;index.html%26quot;. If you don't then anyone can just erase a file name of a sub-directory and see into your entire sub-directory.



For instance, you have a bunch of pictures in the Pictures.html subdirectory. Each Pic is named something like pic1.jpg, pic2.gif etc.



The full URL would be

http://Whatever/Pictures/pic1.jpg



If you don't have a file named index.html in the Pictures sub-directory, then anyone could just erase the file name (pic1.jpg) and they'd see all of your sub-directory %26quot;Pictures%26quot;. But with the index.html in there, they would just go to that index page (which can be blank).



We couldn't navigate very well at all without the index.html pages.
Index.html question for website creating?
You need to find what your homepage is called. It's probably called something like:



home.html



All you need to do is find a way to rename that to:



index.html



If you have got hosting for your site, you might have a cPanel. Try and find your cPanel and find a file manager. You will be able to rename files from there.
Index.html question for website creating?
You have your home.html, whatever you called the home page, and you need to rename it as index.html. It's better anyway because search engines always look for index.html or whatever the page type is, .php, .cf etc.



-Billy
index.html is the file that opens first in a folder.

If you have linux server with Cpanel than click on file manager than click on public_html folder in there there should be a index.html file
  • pedicures is flirting
  • makeaconnectiontomylaptop
  •