Current time: 11-16-2019, 12:23 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess help please
06-26-2013, 05:37 PM
Post: #3
RE: htaccess help please
you will need geoip you can find such ip database on you can get it from http://www.ipaddresslocation.org/ip_rang...ranges.php
then you have to setup ur .htaccess to redirect in ip case
# permanently redirect specific IP request for entire site
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} 22\.22\.22
RewriteRule \.php$ http://subdomain.YOURDOMAINHERE.COM/ [R=301,L]
but in experience it will cost you hard server load i think better to do it in php
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
htaccess help please - safnah - 06-16-2013, 07:45 AM
RE: htaccess help please - GreenGecko - 06-17-2013, 04:02 PM
RE: htaccess help please - 5vlast - 06-26-2013 05:37 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)