by yeejing on November 11th, 2007

yeejing

Question

Help answer this question below.

Why we must name the main page of your website as 'index.html'?

  • Like
  • Report

Answers. 2 helpful answers below.

  • by EL1 2 on November 12th, 2007

    EL1 2

    We need not!

    Some websites use index.php, index.asp, index.shtml, index.htm, index.jsp, index.py, etc.

    It all depends on the configuration of the website. You can also use apache rewrite rules if you're using apache to make it otherwise.

    No comments. Post one | Permalink

  • by Karl Plesz on November 12th, 2007

    Karl Plesz

    Because convention indicates that if you enter a web url (such as www.website.com), the server hosting that site will automatically serve the file index.html, which acts as the front page or welcome page of the site. You can of course bypass that default page by putting a different file name in the url (such as www.website.com/music.html).

    No comments. Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading Why we must name the main page of your website as 'index.html'?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Calamari spices