Do I need the index file?

4 replies
Do I need to have a index.html file in my static site?
I have a small site that I´m going to upload that is only a few pages.

How do I make my optin page the default page when typing in my webadress, does this file need to be named index.html (this isn´t any good seo wise, I want to keep the keywords but still making it the default page)

Can anyone help?

Sincerely
Karl
#file #index
  • Profile picture of the author wayfarer
    Keywords in the page-name make almost zero difference. The only time it matters is when someone pastes the link by itself somewhere like a forum, and there is otherwise no other anchor text. Somewhere like this forum, will take the title of the page, and make it the anchor text, so even this doesn't matter one bit here.

    Worth noting, is that the name "index.html" should never actually show up, unless you link to it using that name. A link like this:
    HTML Code:
    <a href="/">Home</a>
    Will link to the same document as:
    HTML Code:
    <a href="index.html">Home</a>
    Except when you click through on the former link, only the name of your website will display in the URL bar, with no hint you are on "index.html".
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[679809].message }}
  • Profile picture of the author mywebwork
    When you visit a site by domain name only (i.e. cnn.com as opposed to cnn.com/page.html) the server sends you to a default page.

    By default servers are set to use index.html, index.htm or index.php as the default page (this can be changed if you have access to certain configuration files, which you probably don't!).

    So the answer is yes, your home page should be named index.html or index.htm.

    Bill
    {{ DiscussionBoard.errors[680270].message }}
  • Profile picture of the author Challe77
    ok, so the seo don´t take any beating then...
    {{ DiscussionBoard.errors[681138].message }}
    • Profile picture of the author mywebwork
      Originally Posted by Challe77 View Post

      ok, so the seo don´t take any beating then...
      SEO will be fine, I believe that if you check you'd find many of the #1 listings in Google link back to an index.html page.

      Bill
      {{ DiscussionBoard.errors[681416].message }}

Trending Topics