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

Help needed with a duplication error please

Discussion in 'Black Hat SEO' started by rugbyjack2005, Jul 12, 2013.

  1. rugbyjack2005

    rugbyjack2005 Power Member

    Joined:
    Oct 2, 2011
    Messages:
    539
    Likes Received:
    50
    Location:
    United Kingdom
    I am just analysing one of my sites and I am getting a few duplication errors coming up for a couple of pages - www.domain.com and www.domain.com/index.html. Obviously these are the same page and I can't set up a redirect because that would cause an indefinite redirect loop. Is there anything I can do about this? What do others do?

    Thanks in advance for any help.
     
  2. rugbyjack2005

    rugbyjack2005 Power Member

    Joined:
    Oct 2, 2011
    Messages:
    539
    Likes Received:
    50
    Location:
    United Kingdom
    Anyone? Some clever person on the forum must know the answer!
     
  3. Endire

    Endire Elite Member Premium Member

    Joined:
    Mar 27, 2012
    Messages:
    1,756
    Likes Received:
    1,061
    Gender:
    Male
    Rugbyjack,

    Have you tried the redirect? I've redirected extensions like this and it works just fine. Also, have you used rel="canonical" to let search know which root is the right one to index?

    Here is a tutorial that may help,

    http://www.webmasterworld.com/forum92/4666.htm

    Best,

    Shawn
     
    • Thanks Thanks x 1
  4. rugbyjack2005

    rugbyjack2005 Power Member

    Joined:
    Oct 2, 2011
    Messages:
    539
    Likes Received:
    50
    Location:
    United Kingdom
    Thanks Shawn. That redirect code works. I didn't think this was possible because domain.com was getting the code from domain.com/index.html and by redirecting the domain.com/index.hmtl to domain.com, you were creating an indefinite redirect loop. Not sure how this code gets around this but it does!