WordPress Websites Are Under Attack — Is Your Toronto Business Protected?
WordPress powers 43% of all websites globally, making it the world’s most popular CMS — and the biggest target for hackers. Every WordPress site faces a constant stream of automated attacks, from bot scans and password guessing to attempts to exploit known plugin vulnerabilities. For Toronto businesses, a compromised website means lost revenue, damaged reputation, and potential legal liability under PIPEDA.
The good news? Most WordPress security breaches are entirely preventable. The vast majority of successful attacks exploit known vulnerabilities in outdated software, weak passwords, and misconfigured settings. A systematic WordPress security hardening approach closes these gaps and makes your site a hard target.


The 12-Point WordPress Security Hardening Checklist
1. Keep Everything Updated
This single step closes the door most attackers use — known vulnerabilities in outdated software:
- WordPress core: Enable automatic updates for minor releases. For major updates, test on staging first, then apply within 48 hours of release.
- Plugins: Update within 24 hours of a security patch release. Remove any plugin you’re not actively using — unused plugins are a common attack vector.
- Themes: Keep your active theme updated. Delete unused themes (keep only one default theme as a fallback).
- PHP version: Run PHP 8.2 or higher. Older PHP versions have known vulnerabilities and are significantly slower.
2. Implement Strong Authentication
Brute force attacks on WordPress login pages are constant:
- Change the default admin username: Never use “admin” as a username — it’s the first thing bots try
- Enforce strong passwords: Minimum 12 characters with complexity requirements for all admin accounts
- Enable two-factor authentication (2FA): Use Wordfence Login Security or WP 2FA for all admin accounts
- Limit login attempts: Use Limit Login Attempts Reloaded or Wordfence to block IPs after 3-5 failed attempts
- Hide the login URL: Use WPS Hide Login to change /wp-admin and /wp-login.php to custom URLs
3. Harden the WordPress File System
- Protect wp-config.php: Add
require_once ABSPATH . 'wp-settings.php';and move wp-config.php one directory above the web root - Disable file editing: Add
define('DISALLOW_FILE_EDIT', true);to prevent admin-level code editing through the dashboard - Restrict wp-admin access: Use .htaccess or Nginx rules to limit admin access to specific IP addresses
- Secure directory permissions: Set directories to 755 and files to 644. Never use 777.
- Block directory listing: Add
Options -Indexesto your .htaccess file
4. Configure a Web Application Firewall (WAF)
A WAF filters malicious traffic before it reaches WordPress:
- Cloudflare: Free tier provides DDoS protection, bot filtering, and basic WAF rules. Essential for Toronto business sites.
- Wordfence: WordPress-specific WAF with endpoint protection, malware scanning, and login security — free version is excellent
- Sucuri: Cloud-based WAF with malware cleanup and blacklist monitoring — good for businesses that want managed security
5. Implement SSL/TLS Properly
SSL isn’t just about the padlock icon — it encrypts all data between your visitors and your server:
- Enforce HTTPS: Redirect all HTTP traffic to HTTPS via .htaccess or plugin
- Use HSTS headers: Tell browsers to always use HTTPS with
Strict-Transport-Security - Get SSL from a reputable CA: Let’s Encrypt (free) or Sectigo/RapidSSL for business certificates
- Mixed content check: Ensure all resources (images, scripts, fonts) load over HTTPS
6. Automated Backups with Tested Restoration
Backups are your last line of defense. Having them is not enough — you must be able to restore them quickly:
- Backup frequency: Daily for active sites, hourly for e-commerce
- Off-site storage: Never store backups on the same server as your website. Use Google Drive, S3, or dedicated backup services.
- Test restoration quarterly: A backup you haven’t tested is not a backup — it’s a hope
- Recommended tools: UpdraftPlus (free tier works well), BlogVault, or SiteGround’s built-in backup system
7. Database Security
- Change the database table prefix: Default
wp_prefix is a known attack target. Use a custom prefix during installation. - Use strong database credentials: Random 16+ character passwords for the database user
- Restrict database user permissions: Grant only SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER — not DROP or GRANT
- Schedule database optimization: Use WP-Optimize to clean post revisions, spam comments, and transients weekly
8. Monitor and Scan for Malware
- Daily malware scans: Wordfence or Sucuri scan for known malware signatures
- File integrity monitoring: Get alerted when core files, themes, or plugins are modified unexpectedly
- Uptime monitoring: Use UptimeRobot (free) to get alerts within 1 minute if your site goes down
- Google Search Console: Check for security issues — Google will warn you if they detect malware on your site
9. Security Headers
HTTP security headers tell browsers how to handle your content safely:
- X-Content-Type-Options: nosniff — Prevent MIME-type sniffing
- X-Frame-Options: SAMEORIGIN — Prevent clickjacking via iframe embedding
- Content-Security-Policy — Control which resources can load on your site
- Referrer-Policy: strict-origin-when-cross-origin — Control referrer information
- Permissions-Policy — Disable unnecessary browser features (camera, microphone, geolocation)
10. Disable XML-RPC
XML-RPC is an older WordPress feature used for pingbacks and remote publishing. It’s also a major attack vector for brute force attacks and DDoS amplification:
- Block XML-RPC access entirely unless you specifically need it for remote publishing or Jetpack
- Use .htaccess rules or a security plugin to deny access to xmlrpc.php
11. Remove WordPress Version and User Enumeration
- Hide WP version: Remove the generator meta tag and RSS version information
- Block user enumeration: Prevent attackers from discovering valid usernames via /?author=1 queries
- Disable REST API for unauthenticated users: The WP REST API can leak user data and site information
- Remove unnecessary meta tags: Hide theme/plugin version numbers from page source
12. PIPEDA-Compliant Data Handling
For Toronto businesses, security extends to personal data protection under PIPEDA:
- Data minimization: Only collect personal information you genuinely need
- Encryption at rest: Ensure database encryption for stored personal data
- Breach notification: Have a documented breach response plan — PIPEDA requires notification of significant data breaches
- Privacy policy: Maintain an accurate, up-to-date privacy policy covering data collection and usage
- Access controls: Limit staff access to personal data on a need-to-know basis
Frequently Asked Questions
How much does WordPress security hardening cost?
Basic hardening using free plugins and configuration changes costs $0 in software. Professional WordPress security hardening for a Toronto business website typically costs $500-$2,000 for a one-time setup, plus $50-$200/month for ongoing monitoring and maintenance.
Is SiteGround hosting secure enough?
SiteGround provides a strong security foundation with server-level WAF, automatic updates, isolated accounts, and daily backups. However, application-level security (login protection, plugin management, security headers) is still your responsibility.
What should I do if my WordPress site gets hacked?
Immediately: change all passwords, enable maintenance mode, restore from a clean backup, scan with Wordfence or Sucuri, identify and patch the vulnerability, and file a Google reconsideration request if blacklisted. If you’re not technical, hire a professional immediately — delay worsens the damage.
Protect Your Toronto Business Website Today
WordPress security isn’t a one-time setup — it’s an ongoing practice. But the 12 steps above will make your site far harder to compromise than the typical, unmaintained WordPress installation. For Toronto businesses, that’s the difference between being an easy target and a hardened one.
At PerfectPixels, security hardening is part of every website we build. From WAF configuration to security headers, automated backups, and ongoing monitoring — we keep Toronto business websites safe.
Is your WordPress site secure? Contact us for a free security audit and close the gaps before attackers find them.
Further reading: Hardening WordPress — WordPress Developer Resources.

