Reply
Getting more information from a Visiting BOT
Old 01-09-2007, 05:04 AM Getting more information from a Visiting BOT
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Hi,

Does anyone know if you can find out from a visiting bot that has a 404 which url had the broken link on it.

I have used
request.servervariables("ALL_HTTP") on my 404 page but this does not contain the referring URL that the BOT found the broken link on.

Kind regards
Bill Button
Technical Manger
http://www.rodmatic.com
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
When You Register, These Ads Go Away!
Old 01-13-2007, 07:15 PM Re: Getting more information from a Visiting BOT
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Quote:
Originally Posted by bbutton View Post
Hi,

Does anyone know if you can find out from a visiting bot that has a 404 which url had the broken link on it.

I have used
request.servervariables("ALL_HTTP") on my 404 page but this does not contain the referring URL that the BOT found the broken link on.

Kind regards
Bill Button
Technical Manger
http://www.rodmatic.com
Doubtful; this should be in the referrer field of the request header, but if a bot doesn't want to talk to you, it won't.

But you should have the URL that came up 404 in your web stats. I'd do a search on that ( either through Google, or if it's an intranet site, using Windows Search ) and see if you can find out. I'd try the full URL and also just the name of the file the specific page lives in, in case it's a relative link.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 01-25-2007, 05:26 PM Re: Getting more information from a Visiting BOT
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
Extract it from the 404 page

the originating error page is found in the querystring to the error page NOT the HTTP response headers. Use request.querystring to retrieve it
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-26-2007, 11:40 AM Re: Getting more information from a Visiting BOT
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Hi

I already gather this info, but it is blank when googlebot comes visiting, what I am hoping to find but I do not think it is possible. Is to find the page that GoogleBot found the link from.
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
Old 01-26-2007, 11:55 AM Re: Getting more information from a Visiting BOT
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
bots don't "click" links to find your site so don't have a referrer. It's simply following an entry in the database. If the URL is incorrect make sure that it returns a 404 (most custom 404 pages don't) and it will eventually stop calling that URL.

Alternatively use a 301 redirect to send it to the correct URL
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-26-2007, 11:56 PM Re: Getting more information from a Visiting BOT
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Actually, even though one googlebot pulled the link out of a database, another one found it somewhere while populating that database. But you're right that it doesn't just click through, and it's probably not possible ( outside Google's data banks ) to find out where it was discovered.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Getting more information from a Visiting BOT
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15448 seconds with 12 queries