However, here is my problem, I am wanting this access/restriction only for my squeeze pages. I hope I'm making some type of sense. Here is why I need this. I would like to further target and filter my traffic to countries that are more likely to buy and more targeted to the people I want on my list. I feel like this will help in such traffic sources like solo ads.
I will be using the htaccess file as a filter to block unwanted traffic from certain countries, and allow access to countries of my choice. And for the unwanted traffic, send them to another page via a redirect.
is this possible?? :confused:
What I'm looking for (if possible) is for the htaccess file to automatically detect the site visitors IP address and block them from gaining access to the squeeze page from countries that I've preselected. And allow access to the site from countries that I've also preselected.
So for example:
I want the htaccess to say, ok everybody from the USA, Canada and Australia can access the page, but NOBODY from India, China and Pakistan can access the page, they must be redirected to this page instead.
And I want it to automatically detect there IP address of filter out the traffic accordingly.
I found this: Block Visitors by Country | IP2Location.com
It can create the htaccess and block the site visitors from reaching my site. However, I only want it to be used on certain pages, within my blog. The pages I will be using this htaccess file on are unique pages within my blog.
I want to place the htaccess file on this URL:
...and ONLY have the attributes of the htaccess file apply to that single page. And NOT have it effect the rest of the blog.