Jump to content

Block countries with 404 Error


Go to solution Solved by Jim M,

Recommended Posts

Posted

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.

  • Solution
Posted

Sorry, there would not be a way to do this in the software. You can block countries from registering or block IP addresses which would see a message about not being able to access the community.

Posted
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. 

Posted
12 minutes ago, Caleb Rabbon said:

Is that something I can find on the marketplace? 

The Marketplace is closed. I don't remember seeing such an app though before in the Marketplace. You will have to find someone to develop such an app for you.

Posted

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.

  • Recently Browsing   0 members

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