Website audits, fixes and SEO · Bucharest ✉ office@georgica.ro☎ 0749 184 984
George Bădălan georgica.ro
Website security 6 min read

WordPress security for your business website: 6 basic checks you can do today

Business websites aren't hacked by people who picked them out specifically. They are hacked by scripts that try thousands of sites an hour and get in wherever the door is open. Here are the doors we most often find open, and how to close them.

Published by INFINITY DIGITAL SOLUTIONS · Updated 13 September 2026

The short answer

Six basic checks for a business WordPress site: (1) the WordPress and PHP versions should have security support; (2) the admin username should not be public via /wp-json/wp/v2/users or /?author=1; (3) the default readme.html and license.txt files should be deleted; (4) the login should limit attempts and, ideally, use two-factor authentication; (5) the HSTS header should be active; (6) a daily backup should be kept off the server. Each one can be fixed in minutes.

Supported versions

WordPress 6.x and PHP 8.1+ receive security updates. Anything older has public vulnerabilities with ready-made exploits. Update with a backup first, then check the theme and plugins afterwards.

The admin user should not be public

On most installations, the /wp-json/wp/v2/users address lists users with their login names. Once the name is known, an attacker only has to guess the password. Restrict the endpoint for visitors and rename the “admin” user.

Default files

readme.html tells anyone who asks which WordPress version you run. license.txt and wp-config-sample.php have no place on a live site. Delete them after every major update, or block them in .htaccess.

Limiting login attempts

Without a limit, a script can try thousands of passwords on wp-login.php. A limiting plugin (or a rule in the hosting firewall) blocks the IP after a few attempts. Two-factor authentication for administrator accounts almost entirely removes the problem.

HSTS and secure cookies

The Strict-Transport-Security header tells the browser never to try http again for your domain. It is enabled with one line in .htaccess, once you are sure the whole site works over https.

A backup you can use

When a site is compromised, the fastest remedy is restoring a clean backup. If the backup is on the same server, it is compromised too. Daily, external, tested: those are the three words that matter.

Frequently asked questions

Do I need a security plugin?

A firewall or login-limiting plugin helps, but it does not replace updates and backups. Heavy security plugins can slow the site down; choose a simple one and configure it properly.

How can I tell if my site has already been hacked?

Signs include pages or links to casinos or pharmacies that you didn't publish, strange redirects on mobile, new files in wp-content and a warning in Search Console. A check of the files and the database will confirm it.

How long does it take to apply these checks?

For a brochure website, one to two hours, including the backup beforehand. Updating a very old installation can take longer, because it is done in steps.

Contact

Want us to apply this to your website?

Send us your domain and we'll show you what can be fixed for more organic traffic and more enquiries.

Send a message