Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-02-2013, 09:53 AM   #1
AllAboutCams
Femcams.com
 
AllAboutCams's Avatar
 
Industry Role:
Join Date: Jul 2011
Location: bjcam.com
Posts: 12,220
Is there a way to redirect a whole country

Im looking to get rid of india and Pakistani traffic that i get is there a htaccess code i can use
AllAboutCams is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:00 AM   #2
_Richard_
Too lazy to set a custom title
 
_Richard_'s Avatar
 
Industry Role:
Join Date: Oct 2006
Location: Vancouver
Posts: 30,986
of course, just google 'php country redirect'.. there will be a few steps
_Richard_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:01 AM   #3
AllAboutCams
Femcams.com
 
AllAboutCams's Avatar
 
Industry Role:
Join Date: Jul 2011
Location: bjcam.com
Posts: 12,220
Quote:
Originally Posted by _Richard_ View Post
of course, just google 'php country redirect'.. there will be a few steps
Perfect thanks
AllAboutCams is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:06 AM   #4
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
here's javascript version

http://stackoverflow.com/questions/1...-my-ip-address
http://stackoverflow.com/questions/1...from-a-js-file
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:14 AM   #5
AllAboutCams
Femcams.com
 
AllAboutCams's Avatar
 
Industry Role:
Join Date: Jul 2011
Location: bjcam.com
Posts: 12,220
Even better cheers
AllAboutCams is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:15 AM   #6
Validus
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
You are probably best using a bit more advanced solution, using Max Mind or something.
Validus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 10:17 AM   #7
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
Use IPtables if you have the capability, or if your HOST will do it.

Here's a site with the compiled blocks already, on a per country/region basis. The following Link handles various Asian countries.
http://www.wizcrafts.net/chinese-ipt...blocklist.html

ETA: Oops, you wanted to redirect... not block. The above is to outright block an entire country.
__________________
NSFW

Last edited by robwod; 01-02-2013 at 10:20 AM..
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 12:24 PM   #8
AsianDivaGirlsWebDude
Purveyor, Fine Asian Porn
 
AsianDivaGirlsWebDude's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: San Francisco Bay Area
Posts: 38,323


For people that re-direct users from specific countries, where do you redirect them too?

ADG
AsianDivaGirlsWebDude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 12:00 AM   #9
247mg
Yellowplum / 247mg
 
247mg's Avatar
 
Industry Role:
Join Date: Feb 2008
Location: Nicosia, CY
Posts: 2,161
Quote:
Originally Posted by AllAboutCams View Post
Im looking to get rid of india and Pakistani traffic that i get is there a htaccess code i can use
Send all your Indian and Pakistani traffic to us. Signup for our program and use our top convertors FUCKMYINDIANGF.COM for Indian and FUCKMYPAKISTANIGF.com for Pakistani traffic.
__________________
247mg.com - Indian Affiliate Program - Over 50+ Sites To Promote - Monetize Your INDIAN Traffic Today!
247mg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 12:14 AM   #10
lock
Confirmed User
 
lock's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: Australia
Posts: 5,065
Quote:
Originally Posted by dpapa View Post
Send all your Indian and Pakistani traffic to us. Signup for our program and use our top convertors FUCKMYINDIANGF.COM for Indian and FUCKMYPAKISTANIGF.com for Pakistani traffic.
Well there is a solution for you.
__________________
Traffic.Tools - 40+ Free Tools
Free.Marketing - 150+ Free Tools
Submission.Tools
- 20+ Free Tools
lock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 03:28 AM   #11
adultmobile
No, I am not banned
 
adultmobile's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: ChatGF.com
Posts: 5,345
Quote:
Originally Posted by dpapa View Post
Send all your Indian and Pakistani traffic to us. Signup for our program and use our top convertors FUCKMYINDIANGF.COM for Indian and FUCKMYPAKISTANIGF.com for Pakistani traffic.
Well honestly I get some guy from India or Sri Lanka to spend in cams but they're mostly a $5 a month guys, about Pakistan that's less often. What I don't see happening it is them spending $100's, as westerns can do often. I wonder maybe a india/pakistan cam site with india/pakistan girls and micro prices it would work, but I know no one indian or pakistani cam girl (except a few who are in USA/UK, but they would not work for micro prices...).
__________________

TubeCamGirl.com
adultmobile is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 03:44 AM   #12
wehateporn
Promoting Debate on GFY
 
wehateporn's Avatar
 
Industry Role:
Join Date: Apr 2007
Posts: 27,173
Average salary there is less than $100 per month, so yeah small prices would work better

Quote:
Originally Posted by adultmobile View Post
Well honestly I get some guy from India or Sri Lanka to spend in cams but they're mostly a $5 a month guys, about Pakistan that's less often. What I don't see happening it is them spending $100's, as westerns can do often. I wonder maybe a india/pakistan cam site with india/pakistan girls and micro prices it would work, but I know no one indian or pakistani cam girl (except a few who are in USA/UK, but they would not work for micro prices...).
__________________
wehateporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 04:13 AM   #13
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Deny them a visa at the border.

If that doesn't work, ask your host to do it. A few different ways.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 10:08 AM   #14
booblord
Confirmed User
 
Industry Role:
Join Date: Jan 2011
Posts: 150
please send me code to block traffic from India, Egypt,etc
__________________
http://www.booblord.net - Big Tits/ BBW Affiliate Program
booblord is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 10:32 AM   #15
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
Code:
<script src="http://j.maxmind.com/app/geoip.js" type="text/javascript"></script>
<script type="text/javascript">
    switch(geoip_country_code()){
        case "PK" :
            document.location.href = "http://pakistantraffic.com";
            break;
        case "IN" :
            document.location.href = "http://indiantraffic.com"
            break;
        default :
            document.location.href = "http://othertraffic.com"
            break;
    }
</script>
I did a similar one for Chaturbate but can't find it - This is one someone else did and I have not tested it.

He seemed to know what he was talking about though so....
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 02:28 PM   #16
The Porn Nerd
Living The Dream
 
The Porn Nerd's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,496
Yeah - Mexico is now in SoCal.
Is that what you mean?
Ay chi wawa!
__________________
My Affiliate Programs:
Porn Nerd Cash | Porn Showcase | Aggressive Gold

Over 90 paysites to promote!
Skype: peabodymedia
The Porn Nerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 02:30 PM   #17
vdbucks
Monger Cash
 
Industry Role:
Join Date: Jul 2010
Posts: 2,773
Quote:
Originally Posted by robwod View Post
Use IPtables if you have the capability, or if your HOST will do it.

Here's a site with the compiled blocks already, on a per country/region basis. The following Link handles various Asian countries.
http://www.wizcrafts.net/chinese-ipt...blocklist.html

ETA: Oops, you wanted to redirect... not block. The above is to outright block an entire country.
using IP tables isn't really a good idea.. the rules can become cumbersome enough to slow the system down...
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2013, 02:31 PM   #18
Sean
revolutionforce.com
 
Sean's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: i moved from an ICQ box to a Skype box. left the skype box for a telegram box
Posts: 2,909
jesus... i will take it all. redirect to AFF. we bill very well in both places
__________________
-sean
skype: sean.a.christian
sean @ revolutionforce.com
Sean is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.