Documentation
Search first, then browse by task. Guides for install, firewall, scanners, and fixes.
Popular guides
-
Install Security Ninja
Install the free Security Ninja plugin from WordPress admin, FTP, or Upload Plugin, then activate a Pro license if you have one.
-
Exclude paths from the malware scanner
Exclude safe files, plugin folders, or custom paths from Security Ninja malware scans with patterns, whitelists, or the exclude-paths filter.
-
How to use WP_DEBUG
Enable WordPress WP_DEBUG logging to capture PHP errors in debug.log without showing them on the front end.
Browse by topic
Clear hubs, pick a task, then open an article.
Get started
Install, activate, and first-run setup.
- Install Security Ninja
- Access Security Ninja in MainWP
- Access your website via FTP
- Activate Default Security Measures
- Add custom code with WPCode
- Bulk actions in MainWP
Firewall & login
Block bad traffic, harden logins, and 2FA.
- Set up two-factor authentication (2FA)
- 404 Guard
- 8G firewall rules
- Allow users to bypass 2FA
- Automatically validated crawlers
- Ban subnet / IP range
Malware scanner
Scan files, review findings, and clean infections.
- Exclude paths from the malware scanner
- Add custom schedule to scanner
- Core Scanner
- False positive results
- File Viewer
- How to ignore files
Security tests
Hardening checks and how to fix failures.
- Anyone can register option
- Automatic WordPress core updates
- Check if plugins are up to date
- Check WordPress core updates
- Content Security Policy (CSP)
- Deactivated plugins
Vulnerabilities
Plugin/theme vulnerability scanning and alerts.
- Email alerts for detected vulnerabilities
- How the vulnerability scanner works
- How to use the vulnerability scanner
- Problems with the vulnerability scanner
- Risks of outdated plugins
- Vulnerability database files
Troubleshooting
Errors, conflicts, and how to get unstuck.
- How to use WP_DEBUG
- Deactivate the plugin via FTP
- Debug: get server and website information
- Disable the firewall for troubleshooting
- Failed to connect to api.freemius.com
- Fix errors showing on the frontend
Developers
Filters, hooks, and advanced customization.
- Customize User Agent Filtering
- Customize WooCommerce Login Message with Filter
- Customizing firewall filter rules
- Customizing the whitelist: a guide
- Filter secnin_cf_check_blocked_hosts
- Filter wf_sn_client_ip
Account & license
Billing, licenses, refunds, and white label.
- Licenses
- Automated license activation (license_key.txt)
- Cancel subscription
- Change account
- Change your license key on a site
- Custom name and logo
More
Affiliates and other miscellaneous guides.