1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website indexed with "index.html"

Discussion in 'Black Hat SEO' started by Tilko, Aug 19, 2014.

  1. Tilko

    Tilko Junior Member

    Joined:
    Nov 9, 2012
    Messages:
    134
    Likes Received:
    23
    So my website got indexed yesterday but something weird happened I guess...
    Instead of indexing as:

    www.domain.com, I got indexed as: www.domain.com/index.html, lel...
    This is my first time seeing something like this...
    Could this be a problem or?

    Thanks
     
  2. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,290
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    Nope, there's no problem with that. Your website is still indexed and will rank according to its content and SEO you do..
     
  3. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,373
    Likes Received:
    5,439
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    • Thanks Thanks x 3
    Last edited: Aug 19, 2014
  4. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,416
    Likes Received:
    3,701
    Home Page:
    When creating a link to your home page anywhere on your website, make sure you don't use:

    Code:
    <a href="http://www.domain.com/index.html">Home</a>
    nor

    Code:
    <a href="index.html">Home</a>
    Instead use:

    Code:
    <a href="http://www.domain.com/">Home</a>
    or

    Code:
    <a href="/">Home</a>
     
    • Thanks Thanks x 2
  5. Frogserv

    Frogserv Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    376
    Likes Received:
    180
    Occupation:
    Entrepreneur
    Location:
    Paris, FR
    Just use canonical (easier choice) OR .htaccess trick from Treeofl1
     
    • Thanks Thanks x 1
  6. leo29

    leo29 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2014
    Messages:
    128
    Likes Received:
    17
    Gender:
    Male
    1) If only page with (domain-com/ index-html) gets indexed then there will be no problem. But if there are links on your site pointing to domain-com eventually domain-com will also gets indexed and then the problem of duplicate content starts. To stay safe from this problem use canonical tag in the header section of your index page
    <head>


    <title>domain</title>


    <link rel="canonical" href="domain-com"/>


    </head>

    or if you are using wordpress use some plugin


    2) If you already built some links to domain(.)com/index(.)html try to do the 301 redirect as canonical tag cannot redirect the link power.
     
  7. trustourseo

    trustourseo Regular Member

    Joined:
    Feb 25, 2014
    Messages:
    288
    Likes Received:
    21
    Occupation:
    Stratrgic IM Consultant
    Home Page: