Quick Question on Javascript Redirects

Discussion in 'Directories' started by rzvagelsky, Mar 21, 2007.

  1. #1
    So I went ahead and purchased a link on a directory that lists my link with a javascript redirect. More specifically, the owner uses the following code within the <a> tag:

    Can this type of link be followed by the SE's or do they get stuck?

    Thanks for the help!
     
    rzvagelsky, Mar 21, 2007 IP
  2. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #2
    I am sure it won't count as a link by SEs. The tag has to have URL in order for SEs to see it as well as follow-able.

    By checking a page via page source, if you can't see it, then SE won't see the URL either.
     
    coolsitez, Mar 21, 2007 IP
  3. rzvagelsky

    rzvagelsky Well-Known Member

    Messages:
    1,214
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #3
    It does have a link...it just also has the onclick="" function as well.
     
    rzvagelsky, Mar 21, 2007 IP
  4. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #4
    can you see your URL in HTML?
     
    coolsitez, Mar 21, 2007 IP
  5. rzvagelsky

    rzvagelsky Well-Known Member

    Messages:
    1,214
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #5
    yes i can.
     
    rzvagelsky, Mar 21, 2007 IP
  6. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #6
    Here is a link for the similar issue at Matt Cutts' blog.
     
    coolsitez, Mar 21, 2007 IP
  7. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #7
    When I coded my directory, I had faced a problem. I wanted to track the visits through my directory and make it open within a frame so that users can rate the site. But since I wanted my directory to be search engine friendly, I also wanted to provide direct link to the site too. So I did a similar solution. I gave a direct link to the site and on the page load, an onclick event was added to the link to force it open within my frame. Hence for the search engine it is a direct link, wheras for a user it opens within a frame in my site.
     
    Aragorn, Mar 22, 2007 IP
  8. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #8
    In the case the url is in html, it could be read by SEs, so it's possible that it is SE friendly.

    Unfortunately, I am not too certain. But as long as the tag with url in it, SEs could see it. I know another case that SEs recognize it.

    <a href="yoursite.com">anchor</a>
     
    coolsitez, Mar 22, 2007 IP