- This topic is empty.
-
AuthorPosts
-
October 5, 2006 at 7:13 am #709885
Anonymous
InactiveWell, I didn’t look at the script but we use geo-targeting with php and it works like a dream so I can’t see why it wouldn’t be a good solution for you – go for it.
October 5, 2006 at 7:43 am #709890Anonymous
InactiveThis software looks nice. It would also be useful if you have any of your website translated too. Then you can redirect people from “mexico” to the “blahblah.com/spanish/” page on your site.
Nice find.
D
October 5, 2006 at 7:43 am #709891Anonymous
InactiveI use GEO targetting on one of my sites in PHP also and it works well.
October 5, 2006 at 7:45 am #709892Anonymous
InactiveWait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.
Here’s another one:
October 5, 2006 at 7:55 am #709894Anonymous
InactiveAdioKing wrote:Wait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.Here’s another one:
http://www.comdevweb.com/geotraffic.php
It would probably be impossible in HTML alone unless you can run SSI aswell (.shtml) as the page needs to be able to calculate and redirect or serve content applicably. There may be a Javascript add-in option but this would likely hurt seach engine rankings. You ideally need a client-side intelligent programming language like PHP or ASP. You could use Server Side stuff but again this would probably force in redirects unless you could use the “mod rewrite” facility to achieve this, which I’m not sure about.
October 5, 2006 at 8:38 am #709906Anonymous
InactiveI use alot of these types of PHP scripts on my sites (never a geo one though). The script itself is programmed in PHP – your sever just has to support it, but this doesn’t mean it can’t run on an html site. You might want to shoot them an email to be sure though.
October 5, 2006 at 9:34 am #709917Anonymous
InactiveAs far as I´m aware all these scripts plug into the maxmind free geoip database with 98%+ accuracy. They query ip ranges and implement functions based on those queries.
It´s fair to say that if you implement geo targeting you can claim that you have done everything humanly possible to keep US visitors off your site.
October 6, 2006 at 12:24 am #710216Anonymous
InactiveAdioKing wrote:Wait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.Here’s another one:
http://www.comdevweb.com/geotraffic.php
To use php includes in an html page, you can go into your .htaccess file and put in the following codes:
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm[/CODE]Also, I found a great tutorial on how to set up a database and implement geo targeting here: [url]http://ekstreme.com/geotargeting/[/url] I’ve set up mine, however, I cannot figure out how to redirect US to another page (writing a code to enable this.) Any help would be appreciated on this.[CODE]
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm[/CODE]Also, I found a great tutorial on how to set up a database and implement geo targeting here: http://ekstreme.com/geotargeting/ I’ve set up mine, however, I cannot figure out how to redirect US to another page (writing a code to enable this.) Any help would be appreciated on this.
October 6, 2006 at 10:32 am #710270Anonymous
Inactiveif ($CountryCode == US){
// display code for US Residents
include (“us.html”);
}else{
// display code for World
include (“world.html”);
}Doesn’t have to be an include file of course, can be any php you want. Hope that helps.
October 6, 2006 at 8:58 pm #710423Anonymous
InactiveThank you very much for the code, geoffvro!
It was VERY helpful. -
AuthorPosts