| Web Design Lobby Forum for general web design issues not specific to scripting or graphics. |
06-27-2004, 10:42 PM
|
#1 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
Prevent SE's from following a link?
Hey, on my Graphics Central site, I have a report button that allows people to report bad comments, I think when the SE's spider it, it reports them. How can I keep the Spiders from making these links activate, can I use code that keeps them from spidering the link?
|
|
|
06-27-2004, 11:00 PM
|
#2 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Javascript?
|
|
|
06-28-2004, 09:36 AM
|
#3 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
Nobody?
|
|
|
06-28-2004, 09:38 AM
|
#4 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Quote:
|
Originally Posted by Jazzee
Javascript?
|
Spiders can't follow javascript, can they?
|
|
|
06-28-2004, 09:40 AM
|
#5 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
[code:1:9a62e44c9b]Disallow: canttouchthis-dananana.php[/code:1:9a62e44c9b]
place that in your robots.txt file
|
|
|
06-28-2004, 01:17 PM
|
#6 (permalink)
|
|
Inactive
Join Date: 05-12-04
Posts: 520
Latest Blog: None
|
You can do like RichlineTechnical said or you could also have that page with the comments in special directoy and exclude that directory.
How about obscuring it. See chart below. Can be combined with javascript if you want to try.
|
|
|
06-28-2004, 01:25 PM
|
#7 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
See, the comments section is not its own file, it is just a part of a file. I would like to just make it so the SE's can't see the link.
|
|
|
06-28-2004, 01:37 PM
|
#8 (permalink)
|
|
Inactive
Join Date: 05-12-04
Posts: 520
Latest Blog: None
|
Just try the code - &#some number;. Everytine I try and show it the thing is convered to text. I don't think that they will follow links that way. See the table above.
|
|
|
06-28-2004, 06:22 PM
|
#9 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
I got it figured out with Javascript.
[code:1:bb0de3f1e4]<a href="javascript:location.href=('http://www.example.com')">example</a>[/code:1:bb0de3f1e4]
I ran the site through a SE simulator, and it said not spiderable javascript used. S0 for future refrence, that is the code.
|
|
|
06-28-2004, 06:28 PM
|
#10 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
No kidding? Javascript? Really? I never would have thought of that.
|
|
|
06-28-2004, 06:29 PM
|
#11 (permalink)
|
|
v7n Mentor
Join Date: 03-04-04
Location: Whycocomagh, Nova Scotia
Posts: 4,766
|
 LOL 
|
|
|
06-28-2004, 06:36 PM
|
#12 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
lol I wasn't sure how to do the javascript though. I am not very good at javascript.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:12 AM.
© Copyright 2008 V7 Inc
|