Forum Moderators: open

Message Too Old, No Replies

Javasccript Links

How do I prevent Google from following links?

         

tlhmh1

9:24 pm on Sep 20, 2002 (gmt 0)

10+ Year Member



I do not know anything about javascript, so please forgive my stupidity.

I'm trying to figure out how to use javascript to create links that Google won't follow. For example, I really don't want to lose PR to an affiliate program.

Could someone please translate:

<a href="http://www.widgetworld.com/">Click Here</a>

...into a javascript link using document write?

I can't seem to find anything that lays it out plainly when I search this site.

andreasfriedrich

10:11 pm on Sep 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The reasoning in Posting Code [webmasterworld.com] prevents me from giving you anything but a pointer into the right direction.

Have a look at this Introduction: Starting with the Basics [htmlgoodies.com] which explains how you can do the translation to JavaScript yourself.