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)
-   -   how to do this? re: htaccess (https://gfy.com/showthread.php?t=618277)

alan-l 06-06-2006 02:09 AM

how to do this? re: htaccess
 
So one of my servers is getting 23% of its traffic coming from Yahoo. That means around 5000 uniques a day. Great? Nope. Traffic comes from Yahoo Video, so it's 100% wasted traffic and free porn for surfers.

Now I came to this idea. AFAIK, you can't do a referrer based redirect via .htaccess redirecting to anything else than an image. This means no html. But what if you place a file parsing directive? Something like

Code:

RemoveHandler .mpg .wmv
AddType application/x-httpd-php .php .htm .html

or whatever. Is it possible? If so, is it possible to parse files this way *ONLY* when coming from some specific referrer like Yahoo? If so, how?

Assuming this can't be done, do you know of any solution to this that don't imply to block Yahoo? I mean, keeping the traffic but instead of serving the videos, just send the surfer to a page?

gooddomains 06-06-2006 02:13 AM

good question, anyone has the answer for this one ?

alan-l 06-06-2006 02:15 AM

Quote:

Originally Posted by gooddomains
good question, anyone has the answer for this one ?

guess we need smokey to the rescue! :1orglaugh

Violetta 06-06-2006 02:30 AM

somebody knows this for sure! Good luck! bump

darksoul 06-06-2006 02:32 AM

your idea that you can only redirect to an image is wrong
that applies only for hotlinked images.
In this case yahoo redirects to your site, to the video
and you can use that to redirect the traffic to a html page


All times are GMT -7. The time now is 06:52 AM.

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