Business Advice and Help Forum for Businesses or Starting a Company in the UK - A1 Business Forums
corner image corner image
Member Box




corner image corner image
Our Advertisers

corner image corner image
Register FAQ Members List Today's Posts Search Today's Posts Mark Forums Read
A1 Business Blog Home
corner image corner image
A1businessforums.co.uk - The UK's Friendliest Online Business Community
Go Back   Business Forum UK - Advice Help and Questions - A1 Forums > Business Forums > IT, Internet, Web Hosting and Communications
Reload this Page

A tough ask with wordress IP location

For Computers and Software, Servers and Networking, Internet Service Providers, Web Hosts and Telecommunications

Reply
corner image corner image
 
LinkBack Thread Tools Display Modes

corner image corner image
  #1 (permalink)  
Old 24-04-2008, 19:20
admagic's Avatar
admagic admagic is offline
I Live on A1!
 
Join Date: Mar 2008
Posts: 806
Thanks: 119
Thanked 454 Times in 261 Posts
Default A tough ask with wordress IP location

I am after a small PHP code snippet that will allow me to switch pieces of code according to whether the IP address is inside or outside the UK...

Problem is it needs to work within wordptress

This ideally should be either within a post, or
(less good) possibly hacked in to switch between blogs....

The point is I want to offer UK and non UK two different product streams... so switch between two completely different pieces of underlying viral sign up code/ viral listbuildsers

Any ideas???

It will look a bit naf to have UK or non UK buttons to switch...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
Sponsored Links

Register to remove these ads
admagic
View Public Profile
Send a private message to admagic
Find all posts by admagic
corner image corner image
  #2 (permalink)  
Old 24-04-2008, 21:38
openmind's Avatar
openmind openmind is offline
Blog Entry: We will remember them?
Resident Server Geek
 
Join Date: Mar 2008
Location: In front of my computer...
Posts: 1,775
Thanks: 110
Thanked 339 Times in 256 Posts
The main problem you will face is identifying accurately where the IP is located. So if your IP was from China say does it go into the UK or US version? This means you will have to know the location of every IP and decide where it should go, a task in itself.

Secondly is an accuracy issue. Most IP locators are reasonably accurate but some ISPs (like AOHell) bugger this up and most AOL users will appear at first as US users.

www.maxmind.com do a very good IP geolocation service that is pretty accurate but I can't help thinking it would be easier to have .com and a .uk domain, two separate installs and optimise each one to target te specific country.
__________________
Cheers, Phil

Are you Webbylisted? If not you should be...

eCommerce Software, UK Web Hosting, Dedicated Servers, Domain Names
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to openmind For This Useful Post:
admagic (24-04-2008)
openmind
View Public Profile
Send a private message to openmind
Visit openmind's homepage!
Find all posts by openmind
corner image corner image
  #3 (permalink)  
Old 24-04-2008, 22:20
admagic's Avatar
admagic admagic is offline
I Live on A1!
 
Join Date: Mar 2008
Posts: 806
Thanks: 119
Thanked 454 Times in 261 Posts
Thanks a lot phil....

I do indeed have both domains.....and have the viral engines already set up on both.

What I want to do , is offer physical products to those in the UK which I do not want remote users to see.....and only downloads to those further afield - it isnt as simple as a shopping cart, because the monetization and products are hosted on remote affiliate sites.

Since the top layer of these sites is a blog, dont want to duplicate the content, so at some level I have to filter into two separate lists,

The difficulty is that what will prime these viral engines are JVs with lists which are not geo targetted - so I want to try to filter the UK = because the phyiscal products are higher margin ( and better value)

The offer mechanism is so deep in the viral code, I cant subselect down there, so in essence I am trying to keep my UK and rest of world lists separate...

re aol.... I though all the US stuff concentrated in virginia, but the UK IPS were somewhere like bridgnorth??

Is the site you mentioned a code snippet that I can use in wordpress?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
admagic
View Public Profile
Send a private message to admagic
Find all posts by admagic
Reply

« Bots and Bandwidth ! | New Tab in Firefox »

corner image corner image
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

corner image corner image
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
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 01:49.


Calendar - Contact Us - A1 Business Forum UK - Archive - Top

© A1 Business Forums 2008

A1 Business Forums is a brand of Pixel Mind Ltd, a company registered in England and Wales with company number 06693709

Pixelcraze
Forum theme a Pixelcraze Creation





LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!
Share on Facebook Share on Facebook
Stumble this Thread Stumble this Thread
Google Bookmark this Thread Google Bookmark this Thread