GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Fine tuning 404 error traffic. (https://gfy.com/showthread.php?t=123274)

DirkPitt 04-07-2003 11:47 AM

Fine tuning 404 error traffic.
 
I see a lot of posts about redirecting 404 traffic to sponsors or somewhere. My question is: are most of the surfers that get those 404 errors (which are a lot) are surfers snooping around looking for something or are they just legitimate mistakes?

I am talking about a pay site so if there were a % of legitimate mistakes I would want them to go back to the index page not a sponsor. Now if they were snooping I would want them sent somewhere else, not index.

Just wanted anybodies $.02.

Thanks

aztecvision 04-07-2003 12:23 PM

why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor... :2 cents:

DirkPitt 04-07-2003 12:50 PM

Quote:

Originally posted by aztecvision
why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor... :2 cents:
How do you set that up? Through .htaccess

Vox 04-07-2003 12:55 PM

Just add this to your htaccess

ErrorDocument 400 http://www.domain.com/error.html
ErrorDocument 401 http://www.domain.com/error.html
ErrorDocument 403 http://www.domain.com/error.html
ErrorDocument 404 http://www.domain.com/error.html
ErrorDocument 500 http://www.domain.com/error.html


error html is a FPA for some sponsor, or you can take it out and send them to your front page.

DirkPitt 04-07-2003 01:30 PM

Quote:

Originally posted by aztecvision
why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor... :2 cents:
Cool but can/how do you redirect 404 traffic FROM your site to the home page and redirect 404 traffic NOT from your site to a sponsor?

DirkPitt 04-07-2003 10:13 PM

any late nighters know
thanks

RockDaddy 04-07-2003 10:22 PM

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]

SothArtist 04-07-2003 10:32 PM

Dirk Pitt! excelent nick :)

Know if theres anymore coming out?

DirkPitt 04-08-2003 09:29 AM

Quote:

Originally posted by RockDaddy
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]

This is what I already have in an .htaccess file. How would I incorporate the rest of the (above) script? I tried some different things but could not get it to work. Kept going to the RewriteRule's url.
Thanks

<---------what I have already---------->

order allow,deny
deny from 24.128.16.113
allow from all

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*WebZIP.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Stripper.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Offline.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Copier.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Crawler.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Snagger.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Teleport.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Reaper.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Grabber.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Sucker.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Downloader.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Siphon.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Collector.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Mag-Net.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Widow.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Snake.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*gotit.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Vacuum.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Pump.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*HMView.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*HTTrack.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*JOC.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*likse.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Memo.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*pcBrowser.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*SuperBot.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*leech.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Mirror.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Recorder.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*GrabNet.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Likse.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Navroad.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*attach.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Magnet.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Surfbot.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Bandit.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Ants.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Buddy.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Whacker.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*FileHound.*$

RewriteRule /* http://www.teenphenomenon.com/ [R,L]

DirkPitt 04-08-2003 12:39 PM

Quote:

Originally posted by RockDaddy
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]

This script won't let any traffic in...

If your NOT from yourdomain.com or www.yourdomain.com than redirect to full-page-ad-or-sponsor.com

I'm I missing something here? Input from anyone that can help.
Thanks

DirkPitt 04-08-2003 12:41 PM

Quote:

Originally posted by SothArtist
Dirk Pitt! excelent nick :)

Know if theres anymore coming out?

No more Dirk Pitt, but Kurt Austin is the new NUMA guy. Have you read any of these?


All times are GMT -7. The time now is 09:18 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123