is there a way to do this? basically i want to block philippines in my website
is there a way to do this? basically i want to block philippines in my website
i would put a geo redirection on index and redirect all traffic to site, and send phillipines to someone elses.
If you're using an httpd like apache that uses .htaccess you can then deny ip blocks.
i.e Block everyone from ALAND ISLANDS (smallest block i could find)
Tip countryipblocks.net/country-blocks/select-formats/Code:order allow,deny deny from 217.29.224.0/20 allow from all
has country codes
Go toand select the country - it will then give you the lines to put into your htaccess file.Code:http://www.blockacountry.com
The only thing you really need to change is the line:
Change the URL to a page on your site which shows content you want to show to people who are coming from your blocked country. If you don't want to show a secific error, just delete that line.Code:ErrorDocument 403 http://www.proxynetwork.ws/blocked.html
Hope that helps
FB
cooldude7 (06-04-2011)
are you on an apache server with php?
Yeah you can block ever gything on your site. Write the code which you want to block and put it your website designer software.
Bookmarks