Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: mademetop

Message Too Old, No Replies

How to stop indexing of single link?

     
5:06 am on Dec 19, 2008 (gmt 0)

5+ Year Member



hi,

rel="nofollow" prevents Googlebot from following the link but it still index the link whereas using robots in meta tag will affect the whole page.
please tell me how to prevent Googlebot from indexing a particular link on the web page.

8:23 am on Dec 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi vicky

you could use javascript, here is an example:

<script type="text/javascript">
var str="The Link Text";
document.write(str.link("http://www.example.com"));
</script>

if you mean that you don't want the destination page indexed, then ensure there are no other links pointing to it, and/or use the robots meta in the destination page.

<meta name="robots" content="noindex">

9:03 am on Dec 19, 2008 (gmt 0)

5+ Year Member



thanks diddlydazz...
 

Featured Threads

Hot Threads This Week

Hot Threads This Month