Forum Moderators: open

Message Too Old, No Replies

hyperlinks that CANNOT be spidered

creating links to bookmarks on page that won't be spidered

         

beezee

1:48 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



An unusual request, perhaps, but i'd like to be able to create a few hyperlinks at the top of a page that will link to bookmarks on that same page but I do NOT want those links to be 'seen' by search engines. How might i create such hyperlinks that googlebot, as example, can NOT spider?

Thanks.

seofreak

2:11 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



<a href="#" onclick="window.location='http://www.domain.com';return false;">text link</a>

has been working for months for me. neither google sees nor does alltheweb

beezee

2:47 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



thanks, seofreak, but something's not right because when i run your exact code thru [searchengineworld.com...] it sees the link.

am i doing something wrong?

mcavic

2:55 pm on Nov 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



that will link to bookmarks on that same page

If you're talking about a link like h*tp://domain.com/index.html#bottom

Search engines will ignore the # and everything after it anyway.

beezee

3:30 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



yes, I've noticed that, mcavic. but isn't it spider-UN-friendly to have the first several links on a page be links to that very same page?

www.site.com/#bookmark1 = www.site.com
www.site.com/#bookmark2 = www.site.com
www.site.com/#bookmark3 = www.site.com

Or is that a rule I just make rule up myself?!

mcavic

4:02 pm on Nov 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm. I don't know. If I were a spider, that would seem strange to me, but I probably wouldn't mind.

kaled

4:12 pm on Nov 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't do much HTML coding but surely HREF="#target" in the links will achieve the required result. Spiders will ignore such links.

Am I missing something?

Kaled.

netnerd

5:09 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



javascript include it using document.write and robots.txt deny the include file. Simple!

beezee

8:01 pm on Nov 11, 2003 (gmt 0)

10+ Year Member



Yeah, now you're talking, NetNerd. I was thinking javascript might be an answer. Would you (or someone else) paste in some code? Less is more - just what's needed to get the job done. You guys rock. Thanks!