What Security Optimizer does on your WordPress site
Security Optimizer is the free security plugin from the hosting company SiteGround. It has no web application firewall and no file scanner: it hardens WordPress, protects the login page, keeps a log of visits and offers a few emergency actions after a hack. Its "Security Optimizer" menu has four screens: Site Security, Login Security, Activity Log and Post-hack Actions.
Much of the hardening runs through the .htaccess file, which the plugin requires to be working: a file dropped into the system folders blocks PHP scripts from being run directly, a rule blocks xmlrpc.php, and "Advanced XSS Protection" adds the X-Content-Type-Options and X-XSS-Protection headers. The other options hide the WordPress version, disable the file editor and the RSS and ATOM feeds, and delete readme.html, again after every core update.
For logins, you get a custom login URL, login restriction by IP address, app-based two-factor authentication (for administrators and editors), a block on common usernames such as "admin" and a login attempt limit. The log keeps up to 12 days of visits and feeds a weekly email report. There is no paid version, and SiteGround says the plugin works on any hosting platform.
Which sites Security Optimizer is a good fit for
- Sites hosted at SiteGround, where the plugin is often preinstalled and built with that server setup in mind.
- Blogs and small business sites on Apache or LiteSpeed that want baseline hardening with no fine-tuning and no license.
- Sites whose main risk is the login page: two-factor authentication, attempt limits and a custom login URL all live in one place.
It is the wrong pick for a site that needs a web application firewall or malware scanning: that calls for a suite such as Wordfence. Also avoid running two plugins that both limit logins or both add two-factor authentication. On an Nginx server, which ignores .htaccess, part of the hardening does nothing.
Security Optimizer strengths and limitations
Strengths
- Completely free. Every feature is included, with no Premium tier and no paid add-on.
- Protective from the moment you activate it. System folders, the file editor, the WordPress version, XML-RPC, XSS headers and common usernames are handled out of the box, with 5 login attempts allowed.
- Useful emergency actions. Reinstalling free plugins at the same version, logging out every account or forcing new passwords takes one click.
- Lightweight and scriptable with WP-CLI. No background file scans, and
wp sgcommands for 2FA, the attempt limit and the login URL.
Limitations
- No firewall, no scanner. No rules against plugin vulnerabilities and no detection of modified files or malware.
- Tied to
.htaccess. Without that file (Nginx), folder locking, the XML-RPC block and the headers do not apply. - Few fine-grained options. The attempt limit only offers 3 or 5 tries, with fixed lockout times (1 hour, 24 hours, then 7 days).
- Short history. The log keeps 12 days at most, and the weekly report stops if retention drops below 8 days.
- Vulnerabilities in its own login features. Two two-factor bypasses and one IP restriction bypass have been patched (see below).
The Security Optimizer settings we recommend
Labels from the English interface of Security Optimizer 1.6.9. Back up .htaccess before changing the site options, and test your forms and your store after each change.
| Setting | Recommended value | Why |
|---|---|---|
| Lock and Protect System Folders Security Optimizer > Site Security | On (default) | A script an attacker drops into those folders can no longer be called. If a plugin calls one of its own PHP files directly, allow that file with the filters SiteGround documents. |
| Disable XML-RPC Same screen | On, unless a service relies on it | The XML-RPC protocol is used for batched brute-force attacks. Leave it available if you use Jetpack or a remote publishing tool that depends on it. |
| Disable RSS and ATOM Feeds Same screen | Off on a site that publishes posts | Feeds serve RSS readers and tools that pick up your posts; turning them off adds almost nothing to security. |
| Delete the Default Readme.html Same screen | On | The file serves no purpose for the site, and the plugin deletes it again after every WordPress update. |
| Two-factor Authentication for Admin & Editors Users Security Optimizer > Login Security | On | Each affected account sets up an app such as Google Authenticator at its next login. Keep the backup codes; each one works only once. |
| Limit Login Attempts Same screen | 5 (default) | The block targets the IP address: behind Cloudflare or a proxy, check that the plugin sees your visitors’ real address (see the pitfalls of limiting login attempts). |
| Disable Common Usernames Same screen | On | Existing "admin" accounts get renamed through a pop-up; the person is not notified, so tell them their new username. |
| Custom Login URL Same screen | Optional, with the URL saved somewhere safe | Cuts bot noise on wp-login.php but does not replace 2FA. Before you turn it on, read the real benefits and pitfalls of changing the login URL. |
| Number of days logged Security Optimizer > Activity Log > Log Settings | 8 to 12 days | Below 8 days, the weekly report is no longer sent. On a high-traffic site, you can turn the log off. |
Restricting "Login Access" to certain IP addresses is only safe with a static address or a known range: with an address that changes, you can lock yourself out.
- You have logged in with the two-factor code from a private window, and your backup codes are stored off the site.
- In the "Registered Users Activity" tab of the log, the IP address shown for your login really is yours.
- Forms, checkout and plugins that call their own PHP files still work after the folders are locked.
Patched vulnerabilities in Security Optimizer
The most serious flaws in the plugin hit its own login protections:
- CVE-2022-0992 and CVE-2022-0993 (April 2022): authentication bypass through the initial 2FA setup and through backup codes, up to version 1.2.5; the first is rated 9.8 out of 10. Fixed in 1.2.6.
- CVE-2023-0234: SQL injection that required an administrator account, fixed in 1.3.1.
- CVE-2026-13342: bypass of the IP-based login restriction in versions 1.5.8 through 1.6.4, fixed in 1.6.5.
- CVE-2026-82228 (August 2026): unauthenticated two-factor bypass up to version 1.6.6, fixed in 1.6.7.
Stay on version 1.6.7 or later and turn on automatic updates for the plugin (see our guide to automatic plugin updates). WP Feint also makes the plugin harder to spot for bots that target these flaws (the next section lists what gets removed), without replacing the update. To see how Security Optimizer compares with fuller suites, read our comparison of WordPress security plugins.
What WP Feint hides for Security Optimizer
Free version Handled by the free plugin Feint Security
Security Optimizer is one of the 50 most used plugins known to the free version. Pro goes further by renaming its files.
Free version
Nothing to remove
With Pro
- folder name
- tag IDs
Still visible
No known trace
Security Optimizer FAQ
Does Security Optimizer work outside SiteGround?
Yes, SiteGround says it works on any hosting platform. It does require a working .htaccess file, though: on an Nginx server, folder locking, the XML-RPC block and the XSS headers do not apply.
Can it replace Wordfence or another security suite?
Not entirely: it has no web application firewall and no malware scanning. If you run both, keep only one login limit and one two-factor system.
I forgot my custom login URL. What now?
With WP-CLI, the command wp sg custom-login disable restores the default login URL. Without command-line access, SiteGround’s documentation provides a code snippet that sets the sg_security_login_type option back to default.
My IP address is blocked after too many tries. How do I get back in?
The first lockout lasts 1 hour. Another administrator can also unblock your address from the "Blocked" tab of the activity log.