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.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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...
  • 11 months 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.