Skip navigation
Coleyoly
Currently Being Moderated

Orphaned Files

Aug 8, 2012 7:39 AM

Hello all. It seems every time I create an index file in my root folder it is orphaned immediately. Why would this be?

 
Replies
  • Currently Being Moderated
    Aug 8, 2012 7:43 AM   in reply to Coleyoly

    What do you mean by "orphaned"?

     

    ^_^

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 8:41 AM   in reply to WolfShade

    Normally, index.html is a 'default' filename, meaning that it will be loaded automatically when no other name is explicitly specified. Thus, browsing to http://www.example.com will produce the same result as browsing to http://www.example.com/index.html (assuming that there is a file named 'index.html' in the root of that domain).

     

    Now - because this is the case, an interesting predicament arises.  If your page has a link to the home page like this -

     

    <a href="index.html">HOME</a>

     

    a search engine will see that link, parse the page, and note that the content on that page is identical to the content on the default page (even though index.html IS the default page), and since you have two pages with identical content, you will receive a small penalty in your ranking.  To get around this, never link explicitly to that default page, just link to the folder, e.g.,

     

    <a href="/">HOME</a>

     

    Note that I have just linked to the root folder.  The browser will load the default page in that folder, and bada bing, bada boom - no penalty.

     

    In this case, there would never be a link to any file named "index.html" in any page in your site.  Thus, "index.html" is an orphan.  Could that be what is happening here?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 4:12 PM   in reply to MurraySummers

    I'm not sure, but I found this article that might help with the over-optimization penalty that Google has introduced:

    http://www.seomoz.org/learn-seo/duplicate-content

     

    ^_^

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 5:36 PM   in reply to WolfShade

    In this case, you cannot cannonicalize since it's the SAME FILE that is being counted as having duplicate content.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points