linking using javascript is it okey?

Discussion in 'Search Engine Optimization' started by PinoyIto, Apr 17, 2007.

  1. #1
    Does google or other search engine will penalized my site if I will use a javascript to link.. e.g.

    
    <a href = "javascript:location.href='http://www.url.com';" target="_new">Text here</a>
    
    Code (markup):

     
    PinoyIto, Apr 17, 2007 IP
  2. Janna122003

    Janna122003 Banned

    Messages:
    1,375
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't think so. Actually I was thinking if what would be the effect of using javascript in linking. Can anyone here explain the advantages or disadvantages of using javascript in a link?
     
    Janna122003, Apr 17, 2007 IP
  3. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    #3
    The reason why I want to use javascript to link is to limit outbound link from my site, which according to SEO experts engines does not consider javasript link as live link... (not sure if I am correct).

    I plan to use this javascript linking for my affiliate links.
     
    PinoyIto, Apr 18, 2007 IP