9 replies
  • WEB DESIGN
  • |
I've heard that if you have your site setup where your main website url and your index.html page are separate (the default setup, ie: url.com vs url.com/index.html), then the SE's recognize them as 2 separate pages and this can affect your rankings in the SE's due to duplicate content. This may also work the same way with www.url vs just url with no www, but I'm not sure.

How do you go about merging them, or making it so your index.html page and your non-www page automatically opens your main www url? I've done it before in the past but can't remember how. I tried forwarding my index.html page to my url.com page, but when I did neither of them would open in IE.

Thanks ahead of time for the help!
#index #page
  • Profile picture of the author BrainDance
    Hi Matthew
    when you say forwarded, do you mean you tried a redirect of one to the other or?
    Signature
    ================================
    I am taking on only ecover design work for the next 90 days. Rates are 47.00 for single cover, discounts for multiple..just ask! No payment until completed.
    http://www.d27portfolio.com for sample works
    {{ DiscussionBoard.errors[96438].message }}
    • Profile picture of the author Matthew Keith
      Yes, that's what I mean.
      {{ DiscussionBoard.errors[96580].message }}
      • Profile picture of the author MikeHayes
        Hi Matthew,

        I'm not sure I understand your problem but...

        The index.html in any directory is what is opened (default) when you go to that directory. Thus www.domain.com will automatically open the index.html in that (root) directory. (If I remember correctly, no index in the root gets a 'Not found' message.) www.domain.com/other-directory/, looks for the same, an index.html in it. (Otherwise people get to see what's in that directory like eg if there's no index in a download directory they see the download files.)

        Just read all that and wonder if it helps. Anyway that's my contribution.

        MikeHayes
        The HTML Book, For Warriors!
        Signature

        * * * * My site * * * *
        * * * * My paintings * * * *

        {{ DiscussionBoard.errors[96731].message }}
        • Profile picture of the author rwil02
          Originally Posted by MikeHayes View Post

          Hi Matthew,

          I'm not sure I understand your problem but...

          The index.html in any directory is what is opened (default) when you go to that directory. Thus www.domain.com will automatically open the index.html in that (root) directory. (If I remember correctly, no index in the root gets a 'Not found' message.) www.domain.com/other-directory/, looks for the same, an index.html in it. (Otherwise people get to see what's in that directory like eg if there's no index in a download directory they see the download files.)

          Just read all that and wonder if it helps. Anyway that's my contribution.

          MikeHayes
          The HTML Book, For Warriors!
          That's basically correct.
          What it means is that you can't prevent it happening by default.

          You can use .htaccess (for example) to autoredirect example.com to http://www.example.com
          and to redirect / to /index.html
          which would resolve it.

          However, I wouldn't worry too much, as far as I've been able to tell, the search engines only care about duplicate content between domains, not on the same domain.
          Signature

          Roger Willcocks
          L-Space Design
          Please vote to help me win a 3kW solar array

          {{ DiscussionBoard.errors[97158].message }}
          • Profile picture of the author Matthew Keith
            Roger... that might be it. Doing something with htaccess sounds familiar. How do you do that?
            {{ DiscussionBoard.errors[97505].message }}
            • Profile picture of the author TheRichJerksNet
              Your host is out of date and should update the server...

              But anyways .htaccess redirect is simple

              PHP Code:
              RewriteEngine on
              RewriteRule index
              .htmlhttp://yourdomain.com [R] 
              James
              {{ DiscussionBoard.errors[97663].message }}
              • Profile picture of the author Matthew Keith
                Thanks James,

                How do you know my host is out of date and why do they need to update the server?
                {{ DiscussionBoard.errors[97790].message }}
                • Profile picture of the author TheRichJerksNet
                  Mathhew,
                  Your welcome.. Because your host should already be redirecting to your index file without the need of using .htaccess.

                  James


                  Originally Posted by Matthew Keith View Post

                  Thanks James,

                  How do you know my host is out of date and why do they need to update the server?
                  {{ DiscussionBoard.errors[100121].message }}
  • Profile picture of the author strauss
    It's Great to know that url and index pages are segregated than it is easy for SEO to recognize to separate and this information.
    Signature

    To know more information check with this------>http://www.putonyourgoggles.com/blog...-on-the-loose/

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

Trending Topics