Jump to content

Block countries with 404 Error


Go to solution Solved by Jim M,

Recommended Posts

18 minutes ago, Caleb Rabbon said:

I know that using the Geolocation settings I can block countries from creating an account, but is there a way to block countries from accessing the site at all? I want it to just come up with a 404 error code. I can't seem to find an answer on this.

You will need a custom app for that. 

Link to comment
Share on other sites

As Adriano mentioned above, you're better off doing something like this at the server level.

It's possible to write a custom modification for it, but the user would still hit the server, start a request on Invision Community, run queries, use more server resources, etc. If you handle it at the server level they'll be blocked much faster and use fewer resources overall.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...