Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-17, 08:12 AM   #1
CelticTiger
Are you sure this is the Sci-Fi Convention? It's full of nerds!
 
CelticTiger's Avatar
 
Join Date: Feb 2004
Location: Ireland
Posts: 266
Send a message via ICQ to CelticTiger
How do I...

How do I setup .htaccess to redirect foreign bandwidth thieves and send them somewhere else? I'm getting pounded by some useless traffic which is eating up some serious bandwidth.

Cheers.
CelticTiger is offline   Reply With Quote
Old 2005-01-17, 09:10 AM   #2
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,788
Send a message via ICQ to Greenguy
You probably need what DrBizzaro is looking for
http://www.greenguysboard.com/board/...threadid=15325
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2005-01-17, 10:32 AM   #3
CelticTiger
Are you sure this is the Sci-Fi Convention? It's full of nerds!
 
CelticTiger's Avatar
 
Join Date: Feb 2004
Location: Ireland
Posts: 266
Send a message via ICQ to CelticTiger
Yeah...I saw that already, thanks. I'm not really looking to geo redirect ~ more like banning a domain from sending traffic.
CelticTiger is offline   Reply With Quote
Old 2005-01-17, 04:03 PM   #4
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
HTH

http://www.greenguysboard.com/board/...ght=modrewrite
http://www.greenguysboard.com/board/...ght=modrewrite

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Old 2005-01-17, 08:00 PM   #5
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
I found this in a folder of web clippings that I keep.

I haven't tried it myself. It looks like PHP code to me so I would guess that the page needs the php extension.

<?
$user_lan = $HTTP_ACCEPT_LANGUAGE;

/******
language code | language
------------------------------------
ar | Arabic
cs | Czech
da | Danish
de | German
el | Greek
en | English
es | Spanish
fi | Finnish
fr | French
hu | Hungarian
it | Italian
jp | Japanese
nl | Dutch
no | Norwegian
pl | Polish
pt | Portuguese
ro | Romanian
ru | Russian
sr | (Latin) Serbian
sv | Swedish
th | Thai
tr | Turkish
zh | simplified Chinese
zh-tw | traditional Chinese
*********/

if($user_lan=='fr') {
## French
$redir_url = "http://www.frenchsponsor.com";

} elseif($user_lan=='es') {
## Spanish
$redir_url = "http://www.spanishsponsor.com";

} elseif($user_lan=='de') {
## German
$redir_url = "http://www.germansponsor.com";

} elseif($user_lan=='it') {
## Italian
$redir_url = "http://www.italiansponsor.com";

} elseif($user_lan=='ar') {
## Other Non-Us Languages
$redir_url = "http://www.othersponsor.com";

## US traffic or Rest of world not defined above
} else {
$redir_url = "http://www.yourmainurl.com";

}

header("Location: $redir_url");
exit;

?>

EXPLAINING THE ABOVE
I listed as many country codes as I could but I left out a few that I couldn't
find. I know UK is not on there but I believe that one to be 'en-uk'...Anyway
basically you can redirect surfers from ANY country to the URL of your choice,
and just let the US surfers through to your webpages.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2005-01-17, 10:14 PM   #6
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
RE : 'I'm not really looking to geo redirect' Maybe you should look into this, there is a lot of money to be made sending non-English speaking surfers to sponsors who run sites in their language. I used to get a lot of Asian traffic dumped on one of the sites I ran link exchanges with. I started sending it to a sponsor that sold to Japan, China Korea, etc and was making almost as much money from that as I was from the English speaking surfers to that site. Oh, and my method of redirect was simple. Little 80 X 60 buttons with each country's flag on it, the surfer had to click on the flag to go to the sponsor. If I was using something more advanced I would probably have made more money from the Asian traffic than from the English speaking traffic.
ecchi is offline   Reply With Quote
Old 2005-01-18, 06:15 AM   #7
CelticTiger
Are you sure this is the Sci-Fi Convention? It's full of nerds!
 
CelticTiger's Avatar
 
Join Date: Feb 2004
Location: Ireland
Posts: 266
Send a message via ICQ to CelticTiger
Thanks for the links DD.
Cleo ~ I'll save that snippet of code for future endeavours.
ecchi ~ I did think about that but I thought I'd use the traffic as a boost to a new tgp and help get trades going etc.
CelticTiger is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:12 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc