Basic SEO question: xyz.com/index.html and xyz.com

19 replies
  • SEO
  • |
Hi warriors,

Is it necessary to have a permanent re-direct from xyz.com/index.html to xyz.com or they are just perceived the same by search engines?

Thanks
#basic #question #seo #xyzcom #xyzcom or indexhtml
  • {{ DiscussionBoard.errors[6479786].message }}
  • Profile picture of the author retsek
    No redirect is necessary.

    If /index.html has never existed, or if there are no links pointing to it then you don't have to 301 it. You can let it 404.

    If however, it previously existed or you have links pointing to it then it should be 301'd to the preferred index page.
    {{ DiscussionBoard.errors[6479833].message }}
    • Profile picture of the author Dentist
      Originally Posted by retsek View Post

      No redirect is necessary.

      If /index.html has never existed, or if there are no links pointing to it then you don't have to 301 it. You can let it 404.

      If however, it previously existed or you have links pointing to it then it should be 301'd to the preferred index page.
      Well, the site has both xyz.com and xyz.com/index.html and even a logo with xyz.com/#, all of them returning the same page. Each one of these pages have backlinks so I was wondering if 301 will be necessary or leave them as they are. I was in the impression that search engines figure out all three are the same thing without 301 but just not sure.
      {{ DiscussionBoard.errors[6480241].message }}
  • Profile picture of the author retsek
    don't worry about the one with the hashtag (/# ), that's considered the same as /

    Yes you will definitely need to 301'd to just one of them. No they don't figure it out on their own. These are two different pages. You should:

    -pick the one with the most backlinks (the preferred url)
    -ensure all internal links point to the preferred url
    -and 301 the other one with less backlinks to the preferred url
    {{ DiscussionBoard.errors[6480267].message }}
    • Profile picture of the author rickrick2012
      Originally Posted by retsek View Post

      Yes you will definitely need to 301'd to just one of them. No they don't figure it out on their own. These are two different pages. You should:

      -pick the one with the most backlinks (the preferred url)
      -ensure all internal links point to the preferred url
      -and 301 the other one with less backlinks to the preferred url
      I guess his landing page is /index.html
      In such a case, what is the meaning of 301 here? How it is even possible to 301 his full .com address on index.html?

      I guess he is referring to internal link structure of the site. So the question is, from SEO view point, what is the best internal link to home page?

      Thanks!
      {{ DiscussionBoard.errors[6484475].message }}
      • Profile picture of the author retsek
        Originally Posted by rickrick2012 View Post

        I guess his landing page is /index.html
        In such a case, what is the meaning of 301 here? How it is even possible to 301 his full .com address on index.html?

        I guess he is referring to internal link structure of the site. So the question is, from SEO view point, what is the best internal link to home page?

        Thanks!
        There is no best. Google/Bing treats them all the same.

        It only matters that you pick one and only one. Your homepage (and generally all content) should only be accessible via one URL.

        We can go further and discuss the use of rel=canonical, but that might complicate things.
        {{ DiscussionBoard.errors[6484499].message }}
  • Profile picture of the author julianbooth123
    If both the pages have the same content then you need to permanent redirect one of them
    {{ DiscussionBoard.errors[6480900].message }}
  • Profile picture of the author jewelraz
    I had tried redirection for a joomla site from index.html to mysite.com, but I had faced some issues. All pages were redirecting to the home page. So better not to try it I guess.
    {{ DiscussionBoard.errors[6480949].message }}
  • Profile picture of the author samual james
    According to me you should redirect your xyz.com/index.html to xyz.com.
    {{ DiscussionBoard.errors[6481096].message }}
  • Profile picture of the author Delta90
    Do a 301 just to be sure, You dont want any duplicate content trouble.
    {{ DiscussionBoard.errors[6481225].message }}
    • Profile picture of the author tanu19
      Yes you have to redirect (301) to avoid duplicacy of content.
      {{ DiscussionBoard.errors[6483161].message }}
  • Profile picture of the author Dentist
    Well,

    Here is the situation again:

    This website that I am working on its SEO, has both pages xyz.com and xyz.com/index.html
    - Both of the returning the same page as a result of entering the URL directly...
    - Each one has separate backlinks but the backlinks to xyz.com are a lot more and better
    - All the other internal pages on the website top menu are returning xyz.com/index.html meaning if I am on another internal page and I click on Home Button on the top menu, I go to xyz.com/index.html
    {{ DiscussionBoard.errors[6484530].message }}
    • Profile picture of the author retsek
      Originally Posted by Dentist View Post

      Well,

      Here is the situation again:

      This website that I am working on its SEO, has both pages xyz.com and xyz.com/index.html
      - Both of the returning the same page as a result of entering the URL directly...
      - Each one has separate backlinks but the backlinks to xyz.com are a lot more and better
      - All the other internal pages on the website top menu are returning xyz.com/index.html meaning if I am on another internal page and I click on Home Button on the top menu, I go to xyz.com/index.html
      follow my original advice:

      -301 xyz.com.index.html to xyz.com
      -update your internal pages, so that they point to xyz.com and not xyz.com/index.html
      {{ DiscussionBoard.errors[6484550].message }}
      • Profile picture of the author tonyscott
        Originally Posted by retsek View Post

        follow my original advice:

        -301 xyz.com.index.html to xyz.com
        -update your internal pages, so that they point to xyz.com and not xyz.com/index.html
        It's a very common problem and very good advice.

        You might want to check for www and non www versions of the home page too.

        Tony
        {{ DiscussionBoard.errors[6486635].message }}
        • Profile picture of the author Dentist
          Originally Posted by tonyscott View Post

          It's a very common problem and very good advice.

          You might want to check for www and non www versions of the home page too.

          Tony
          Yeah. I checked that part. No canonical problems... Already has correct re-directs.
          {{ DiscussionBoard.errors[6487876].message }}
      • Profile picture of the author rickrick2012
        Originally Posted by retsek View Post

        -301 xyz.com.index.html to xyz.com
        Can you please advise how to redirect /index.html to site url?
        I did it and the whole site went down! I am wondering if there is any specific way to do it that is particular to this redirect. Thanks.
        {{ DiscussionBoard.errors[6500633].message }}
  • Profile picture of the author rickrick2012
    Worked great. Thanks!
    {{ DiscussionBoard.errors[6556180].message }}
    • Profile picture of the author paulgl
      People, thread like this that morph are just because
      people have no idea how to program, or what servers
      do.

      99.99% if websites today are built on hosts that send
      all traffic from domain.com to domain.com/index.php.
      If it exists. If not, it looks for domain.com/index.html,
      or whatever it was designed to do.

      It's the same page! It's your index page! But your browser
      does not need to show the index extension.

      You don't need any redirect! I have no idea why people do
      not know such a basic thing as what hosts and servers do.

      Why answer the question of you have no idea what's going on?

      Take warriorforum.com for example. You type in warriorforum.com/index.php
      or just warriorforum.com. Does not matter.
      BTW, the index.html does not exist.

      It's a host and server issue. It's done for you.

      Paul
      Signature

      If you were disappointed in your results today, lower your standards tomorrow.

      {{ DiscussionBoard.errors[6556578].message }}

Trending Topics