DeveloperSD AccessShield
A lightweight WordPress plugin that lets you block or allow visitors based on IP addresses. Manage IP lists securely from the dashboard with sanitized inputs, nonce verification, and fast performance. Ideal for reducing spam, filtering traffic, and enhancing site security.
by Sudip Debnath · github.com/sudipdebnath-cloud/developersd-accessshield
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sudipdebnath-cloud/developersd-accessshield/archive/refs/heads/main.zipDescription
DeveloperSD AccessShield is a lightweight WordPress security plugin that allows you to restrict access to your website based on visitor IP addresses or geographic location (country).
It helps protect your website from unwanted traffic, spam activity, or region-specific access restrictions while maintaining optimal performance.
Features
- Enable or disable Country Blocking and IP Blocking independently using checkboxes
- Block access from selected countries
- Block access from specific IP addresses
- Submenus for detailed management:
- Country Blocker: Search and select countries to restrict access
- IP Blocker: Add multiple IP addresses to block access
- Lightweight and performance-friendly
- Works with any WordPress theme
Installation
- Download the plugin folder (
developersd-accessshield) and upload it to your WordPress/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to the DeveloperSD AccessShield menu in the WordPress dashboard to configure your settings.
Usage
- Navigate to the DeveloperSD AccessShield menu in your WordPress dashboard.
- Enable or disable the features you want:
- Country Blocking — block specific countries
- IP Blocking — block specific IP addresses
You can enable both, only one, or keep both disabled.
- Use the submenus to configure details:
- Country Blocker: Search and select countries from where you want to restrict access
- IP Blocker: Add one or multiple IP addresses to restrict access
- Save your settings — the plugin will start restricting access based on your configuration.
Screenshots
- Plugin main menu with enable/disable checkboxes
- Country Blocker submenu with search and selection
- IP Blocker submenu with multiple IP entries
- Access denied message (optional)
Replace these with real screenshots before publishing.
Changelog
1.0.0
- Initial release
- Enable/disable checkboxes for Country Blocking and IP Blocking
- Submenus for Country Blocker and IP Blocker
- Search and selection of countries
- Add multiple IP addresses to restrict access
Frequently Asked Questions (FAQ)
Q: Can I enable both Country Blocking and IP Blocking at the same time?
A: Yes, you can enable one or both depending on your needs.
Q: Can I block multiple countries or IPs at once?
A: Yes, you can select multiple countries or enter multiple IP addresses.
Contributing
Contributions, bug reports, and suggestions are welcome!
Please fork the repo and create a pull request.
License
This plugin is licensed under the GPLv2 or later.
Author
Sudip Debnath
GitHub Profile