How to restrict just a web page from a certain country, not the whole domain?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ameifan83
    New Member
    • Jan 2010
    • 1

    How to restrict just a web page from a certain country, not the whole domain?

    Hi,

    May I know how do I restrict access from a certain country? I know I can do it by restricting ip address using .htaccess. But I just want to restrict just one page, not the whole domain. How can I do it?

    Appreciate any help here. Thanks.

    Regards,
    Dan
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You won't be able to do it with HTML/CSS. You could check using your server scripting code. Which language are you using?

    Comment

    Working...