1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to stop google from following javascript links?

Discussion in 'Google' started by lorien1973, Oct 31, 2007.

  1. #1
    Does anyone know how to stop google from following a javascript link?

    On every page of one of my sites, I have this:

    <script type="text/javascript" src="hxxp://support.4intrepid.com/inventory/instant_check.php?code=AV-S861"></script>

    If you google this page:

    hxxp://www.google.com/search?q=support.4intrepid.com/inventory/instant_check.php&hl=en&filter=0

    I currently get 67 pages indexed (each of them just has a ton of content too :rolleyes:). This link appears nowhere else on my sites or anyone else's sites. Its only a few weeks old, in fact.

    Anyone have a clue as to how to make google stop following those links? It seems absurd that google would index these things.

    And,

    As a followup; does anyone think that google would penalize me for having this "outbound link" on every page of the site?
    SEMrush
     
    lorien1973, Oct 31, 2007 IP
    Will.Spencer likes this.
    SEMrush
  2. biddinglinks

    biddinglinks Banned

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google cannot read/follow javascript links.

    Don't get your example - hxxp?? url ending .php??
     
    biddinglinks, Oct 31, 2007 IP
  3. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #3
    It can and does. This whole thread proves it does. Whether google weights them is an entirely different matter.

    And you are kidding me, right?

    hxxp = http - I don't need the links spidered from here.
     
    lorien1973, Oct 31, 2007 IP
  4. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use noindex meta tags on the pages you don't want indexed, or disallow those pages via robots.txt
     
    mdvaldosta, Oct 31, 2007 IP
  5. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #5
    I understand that and the solution is fine, except:

    I have a yahoo store; so the domain that hosts the javascript is:

    www.onlinediscountmart.com and the javascript call goes to support.4intrepid.com (my mail/server/etc). That's the problem.

    Excluding via robots.txt is easy and an option, but it doesn't mitigate the outbound "link" on each item page. And that's my main concern.
     
    lorien1973, Oct 31, 2007 IP