.htaccess - how to redirect users to different index.php pages based on their states location -


we had different index pages different states of users.

    let site www.example.com 

so if user requesting andhra pradesh state needs load apindex.php. if tamilnadu needs load tamilindex.php. how can accomplish this? possible identify users request on server side can redirect required page or else have handle in client side? new redirection, approach redirection.

thanks in advance.

we can achieve php script , third party application check state on basis of ip. using can redirect user particular index page.

geo location based on ip address - php

http://css-tricks.com/snippets/php/detect-location-by-ip/


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -