redirect users based on their states , var user_state = geoip_region(); if( user_state == "NY") window.location = "https://google.com/"; else if( user_state == "TX") window.location = "http://google.com/"; else window.location = "http://google.com/"; 256 viewsPrasanth Kumar, edited 01:01