spacer
Web Development Tutorials PHP Tutorials
 Developer Newsletter

Tutorials
AJAX
ASP
CGI & Perl
CSS
Flash
HTML
Illustrator
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML
Miscellaneous


Scripts Directory
AJAX Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Web Hosting Directory
ASP.NET
Budget
Dedicated Servers
Ecommerce
Linux
Resellers
Shared
Small Business
Windows

Developer Manuals
Learn HTML
Learn PHP
Learn CSS
Learn AJAX
Learn JavaScript
Learn Pear
Free White Papers

Developer Resources
Developer Tools
Developer Content
Survey Software
Dedicated Servers




Effective Geotargeting with PHP

By Akash Mehta
2008-01-27


Tips and tricks

Typically automatic language selection was very tricky, as browsers often weren't setup properly to tell the server what languages the end user expected. The remedy was to ask the user directly, but a long list of languages was very daunting for the end-user, and leaving some minority languages out was potentially insulting. With geolocation, you could combine the user's country with a database of locales based on country, then default to one but offer a clear choice of two or three (as appropriate) for the user to choose from; problem solved.

Content delivery networks also use geotargeting a lot. The idea of a content delivery network is that servers located physically closer to the user often incurred lower data transfer costs and were somewhat quicker, an important factor in winning users. With geotargeting, for example, all images from a site can be fed off a local server. Alternatively, you could redirect the user to the local version of your website altogether, possibly even on an entirely new domain. Say your domain was example.com, you might want to redirect me to example.com.au, where your local site is not only quicker to load, but has better targeted content and more relevant ads as well.



Tutorial Pages:
» Introduction
» IP Targeting: It’s tricky business!
» Getting started
» Let's write some code!
» Tips and tricks
» Going further


Related Tutorials:
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1
» Desktop Application Development with PHP-GTK
» Installing PHP on Windows



About the NetVisits, Inc Network | Write For Us | Advertise
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: