Jump to content

Custom code to block IP address?

Recommended Posts

How can I block a specific IP address with Squarespace 7.0? I'm assuming it requires custom code. I'm only finding guides to ban IP addresses for Squarespace 5. The previous three websites I've used prior to Squarespace had the option (though I never needed it then). Now I am in a situation where I need to block an IP address and am running into trouble. I'm on the highest, most advanced plan for Squarespace so I have access to all options/settings.

Link to comment
1 hour ago, kds_on_ss said:

How can I block a specific IP address with Squarespace 7.0?

This was a built in feature on version 5, but it isn't available on later versions. To do this, you'd need to use a third party reverse proxy service that offers this feature, like Cloudflare.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 7 months later...
On 12/5/2021 at 4:51 PM, kds_on_ss said:

How can I block a specific IP address with Squarespace 7.0? I'm assuming it requires custom code. I'm only finding guides to ban IP addresses for Squarespace 5. The previous three websites I've used prior to Squarespace had the option (though I never needed it then). Now I am in a situation where I need to block an IP address and am running into trouble. I'm on the highest, most advanced plan for Squarespace so I have access to all options/settings.

I have someone who is going to one of my ss sites and harassing me (not through a form) so I am also looking for the same functionality,  I think SS makes you buy their top plan to be able to add a line of code from a purchased third party web tool (which you have to buy). If there is another way I am anxiously waiting. 

Link to comment
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.