Seo Tip for : Common Canonical Homepage Issue

Discussion in 'Search Engine Optimization' started by seotheking, Aug 10, 2010.

  1. #1
    Seo Tip for : Common Canonical Homepage Issue


    Bad
    http://www.abcdexamplesite.com
    http://abcdexamplesite.com
    http://www.abcdexamplesite.com/index.html
    http://abcdexamplesite.com/index.html

    Good
    http://www.abcdexamplesite.com/

    To compressed the four default homepages into one homepage, use
    301 redirects to correct for wrong incoming
    links and make all internal links point to your domain using the
    syntax ‘http://www.abcdexamplesite.com/’. Always include trailing “/” on folders.:cool:
     
    seotheking, Aug 10, 2010 IP
  2. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Awesome, I was just reading about this 5 minutes ago on SEO Journal.

    I use geekhang.com as my homepage URL everywhere. www.geekhang.com redirects to geekhang.com.
     
    RadioBounce, Aug 10, 2010 IP
  3. saritaets

    saritaets Peon

    Messages:
    222
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for sharing information with us.
     
    saritaets, Aug 10, 2010 IP
  4. naumanahammad

    naumanahammad Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think "/" at the end doesn't matter.
     
    naumanahammad, Aug 10, 2010 IP
  5. monfis

    monfis Well-Known Member

    Messages:
    1,476
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #5
    The right way would be to do it using your htaccess file instead of a 301 redirect.

    RewriteEngine On
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP/
    RewriteRule ^index\.htm$ http://www.yoursite.com/ [R=301,L]
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^yoursite.com$
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
     
    monfis, Aug 10, 2010 IP
  6. jitendraag

    jitendraag Notable Member

    Messages:
    3,982
    Likes Received:
    324
    Best Answers:
    1
    Trophy Points:
    270
    #6
    @monfis: You are doing 301 redirect using .htaccess ;-)

    Apart from the redirect, I also recommend telling Google about your preferred domain URL (with webmaster tools).
     
    jitendraag, Aug 10, 2010 IP