dot slash?

Discussion in 'Search Engine Optimization' started by badmaash, Jun 28, 2008.

  1. #1
    Okay if you have set up your domain to resolve to www.mydomain.com/ and you make backlinks to www.mydomain.com(without slash) - the backlinks are useless right?

    Or is goog1e adding the backslash??

    Thanks

    B
     
    badmaash, Jun 28, 2008 IP
  2. badmaash

    badmaash Peon

    Messages:
    297
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi - I am not to familiar with .htaccess

    Can someone tell me if the code is rewritting by adding a slash at the end of the domain:

    1) RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]

    2)RewriteRule ^index\.html$ http://www.mydomains.com/ [R=301,L]

    Are the above rules adding a slash to the end? Also if backlinks are going to the non-slash version then they are a waste?

    Thanks
     
    badmaash, Jun 28, 2008 IP
  3. badmaash

    badmaash Peon

    Messages:
    297
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Also if all backlinks are to the non slash version does the PR get transferred to the slash version?
     
    badmaash, Jun 28, 2008 IP
  4. freelistfool

    freelistfool Peon

    Messages:
    1,801
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Google has gotten a lot better at resolving canonical issues over the past few years. Especially the one you mentioned. You can use the .htaccess to redirect everything (index.html, etc.) just to be safe. What you need to do is pick what you want to be your "root" then make sure all your internal links point to the root and your .htaccess redirects all the other variations to your root.

    Do some research on canonical problems with a website for more information.

    Here's a link to Matt Cutt's advice on the issue: http://www.mattcutts.com/blog/seo-advice-url-canonicalization/
     
    freelistfool, Jun 28, 2008 IP
  5. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Most web servers will enforce the trailing slash on the root domain, so links to either .com or .com/ doesn't matter. Folders are more of a concern, because many servers don't enforce the trailing slash for folders so /folder and /folder/ are different URL's, example:

    http://www.google.com/intl/en/ads/

    and

    http://www.google.com/intl/en/ads
     
    sweetfunny, Jun 28, 2008 IP
  6. badmaash

    badmaash Peon

    Messages:
    297
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Okay but if I set up my htaccess to have the slash but all the backlinks do not contain the slash then are they a waste?

    Thanks
     
    badmaash, Jun 28, 2008 IP
  7. askloz.com

    askloz.com Peon

    Messages:
    116
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    only if you have a back link that is followed by /index.htm or index.php

     
    askloz.com, Jun 28, 2008 IP