• Resolved shakirahmed

    (@shakirahmed)


    Using your plugin for the last few years to restrict visitors to visiting frontend from some specific countries. It was working fine. But for the last few days, it is working only a few hours after setting. Then again doesn’t work. I uploaded the latest ip database according to your guideline.

    From the setting page, I set it to restrict visitors from a specific country. It works for a few hours then after a few hours, the restriction doesn’t work though the setting remains the same on the setting page. What should be the problem?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pascal

    (@iqpascal)

    Hi,

    Perhaps you use some form of caching for instance via Amazon. Caching and Geo Blocking is a bit mutually exclusive unless it happens directly at the caching point.

    Thread Starter shakirahmed

    (@shakirahmed)

    Yes, site is hosted and cached via Amazon. So no way for me?

    Plugin Author Pascal

    (@iqpascal)

    Well I am afraid not. Best case scenario is that countries you block will be served from cache As WordPress is not run when a page is cached iQ Block Country is not fired up to check.

    So that’s why Geo Blocking should be done at the cache level. I know some caching solution providers offer such a solution

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Country restriction is not working’ is closed to new replies.