Redirect to the site of the country ip

If coding is more your thing then the Website Development & Scripting forums are for you. Share server-side scripting and database integration tips, tricks and problems here.
Post Reply
User avatar
real
Newbie
Posts: 7
Joined: Mon Feb 17, 2014 1:40 pm

#1

Thu May 08, 2014 10:43 pm

Good day! Tell me how to make a redirect to the site c ua, ru, com - depending on what country ip to come in?

Thanks in advance!
Last edited by real on Thu May 08, 2014 10:46 pm, edited 1 time in total.


User avatar
tuxandrew
Newbie
Posts: 8
Joined: Sun Nov 17, 2019 2:39 am
Location: INDIA
Contact:

#2

Sat Nov 23, 2019 10:35 pm

If you have an Apache-PHP based server, you can install Mod_GeoIP and Geoip.

1. Mod_GeoIP Apache module that can be used to get the geographic location of the IP address of the visitor into the Apache webserver. This module allows you to determine the visitor’s country, organization, and location. It is especially useful for Geo Ad Serving, Target Content, Spam Fighting, Fraud Detection, Redirecting/Blocking visitors based on their country and much more.

2. GeoIP stands for geographic information of IP Addresses. It is a PHP extension used to find the geographic location of an IP Address (eg:- Country, state, latitude) and other information like ISP, connection type etc.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 0 guests