What's new at ShopWired?
IP address blocking added to domain settings
A new IP address blocking feature has been added to Domain settings, allowing you to block specific IPv4 addresses from accessing your website without modifying theme code.
Domain settings update
The page previously titled Referrer Spam has been renamed to Domain settings in both the horizontal and side menus.
A new section titled IP address blocking has been added.
Blocking IP addresses
You can now enter IP addresses to block in a dedicated textarea field labelled:
IP addresses to block
Each IP address must be entered on a new line, for example:
1.1.1.1
2.2.2.2
The following rules apply:
- IPv4 addresses only
- A single wildcard
*is supported at the end of an address (e.g.1.1.1.*) - Wildcards are only supported at the end of the string
- Comment lines can be added using
#at the start of the line - A maximum of 200 IP addresses is allowed
When a blocked IP address attempts to access the website, the visitor will be shown the 403 page.
Read more about the feature here.
Performance and implementation
A small performance impact may occur. Testing shows an average increase of approximately 10ms per request, with higher usage scenarios remaining within acceptable limits.
This provides a cleaner, centralised way to manage IP blocking directly within the ShopWired admin.