Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9212593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:33:33+00:00 2026-06-18T01:33:33+00:00

I have www.propertyhere.com I want to insert some Jquery code in the index page

  • 0

I have http://www.propertyhere.com

I want to insert some Jquery code in the index page to redirect visitor into the following pages according to their geographical ip location.

 if user ip is from AU then show:
 http://www.propertyhere.com/Country/AU/search-to-buy;

 if user ip is from CA then show:
 http://www.propertyhere.com/Country/CA/search-to-buy;

 if user ip is from NZ then show:
 http://www.propertyhere.com/Country/NZ/search-to-buy;

 if user ip is from US then show:
 http://www.propertyhere.com/Country/US/search-to-buy;

 if user ip is from CN then show:
 http://www.propertyhere.com/Country/CN/search-to-buy;

 if user ip is from RU then show:
 http://www.propertyhere.com/Country/RU/search-to-buy;

If visitor’s ip doesn’t match the above locations then just let the visitor stay in the homepage.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T01:33:41+00:00Added an answer on June 18, 2026 at 1:33 am

    You could use a service such as http://geoiplookup.wikimedia.org/ and do a simple ajax request.
    This should grant you all the necessary details.

    dome thing like this may help:

    $.ajax('http://geoiplookup.wikimedia.org/', {
        crossDomain:true,
        success:function(data,text,xhqr){
            alert(data);
        },
        error:function(xhr, textStatus){
            alert(xhr.responseText);
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have url http://www.domain.com/folder/?variable=1 i would like to do a mod redirect to index.cfm
Can anybody please help me with some URL rewriting? I had: (EXAMPLES) www.example.com/index.php?page=namepage www.example.com/index.php?page=gallery&topic=nametopic
Let's say I have this url: www.example.com/test.php?page=4 How do i retrieve the value of
I have this page: http://www.thedome.it/cmsms/index.php?page=alla-spina I'd like to send a newsletter to subscribers every
I have this URL : http://www.exmaple.com/boo/a.php?a=jsd and what i want the output is something
Just as we have http://www.sliver.com/dotnet/SnippetCompiler/ (link inactive on 2021-04-24) to test a C# code
Have www.website.com/sds/ (index.htm) set up so that a mouseover on various places shows an
Say if i have www.xxx.com/origin-to-destination/date/time , will google index www.xxx.com/origin-to-destination or www.xxx.com/origin-to-destination/date/time or both
I have www redirect in .htaccess. So www.example.com gets 301 redirect to example.com But
I'm working on a website using friendly URLs. We want to have www.website.com/johndoe go

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.