This guide covers ten things, from the simplest to the more technical. You can check all of them on your own site without being a technician. Where it says “your domain”, type your own address, for example your-company.se.
1. Are WordPress and your plugins up to date?
Log in and look under Uppdateringar (Updates) in the admin panel. It shows whether WordPress, your theme or your plugins have newer versions.
Every waiting update may contain a fix for a vulnerability. When a vulnerability is fixed, it is often described publicly. That means anyone looking for sites that have not updated knows about it too.
2. Are there plugins that nobody uses?
Go through the list under Tillägg (Plugins). A deactivated plugin can still have a vulnerability, because the files stay on the server.
- Delete plugins you do not use.
- Check when the others were last updated. A plugin that has not been updated for years may be abandoned.
- Replace abandoned plugins with one that is maintained.
3. Are usernames leaking?
Many WordPress sites show their usernames to anyone who asks. Then an attacker only has to guess the password. Check it yourself by typing your domain followed by /wp-json/wp/v2/users in the browser, for example ert-foretag.se/wp-json/wp/v2/users.
- If you see a list of names and usernames (the
slugfield), they are visible to everyone. - If you see an error message or an empty list, it is closed.
The fix is a security plugin or a small setting that limits the list to logged-in users. Also make sure no username is “admin” or the same as the company name.
4. Is xmlrpc.php open?
xmlrpc.php is an old way into WordPress that many sites no longer use. It is often used to try passwords on a large scale, because a single request can contain hundreds of attempts. Type your domain followed by /xmlrpc.php.
- If it says “XML-RPC server accepts POST requests only”, it is open.
If you do not use apps or services that need it, such as the WordPress app or some old integrations, it can be closed with a security plugin or at your hosting provider.
5. Are log files and backups left open?
Sometimes files are left on the server that were never meant to be seen. The most common:
wp-content/debug.log: the error log. It can contain file paths, usernames and sometimes more. It is created when debugging has been switched on and then forgotten.- Copies of
wp-config.php, for examplewp-config.php.bak,wp-config.oldorwp-config.php~. They contain the database password. - Full backups such as
.zipor.sqlfiles in the site’s root folder.
Check your own site by typing your domain followed by /wp-content/debug.log. If a text file loads, it should be deleted, and debugging should be turned off in wp-config.php (WP_DEBUG to false). Backups belong outside the site’s folder, or with a backup service.
6. Do the files have the right permissions?
File permissions decide who may read and change the files on the server. For normal WordPress installations, the rule is usually:
- Folders:
755 - Files:
644 wp-config.php:600or640, so that only the server itself can read it
Permissions such as 777 mean everyone may change the files, and then injected code can be written anywhere. Ask your hosting provider or web agency if you cannot reach this yourself.
7. Is the admin panel hardened?
A few settings make a big difference:
- Two-step verification for all administrators.
- Limited login attempts, so that bots are locked out after a few wrong tries.
- Turn off the file editor in the admin panel. Add
define('DISALLOW_FILE_EDIT', true);towp-config.php. Then a hijacked account cannot change the theme’s code directly in the browser. - Unique passwords. A password used on several services opens all of them when it leaks from one.
8. Who can log in?
Under Användare (Users) you can see all accounts. Old accounts for former employees or consultants are common.
- Delete accounts that are not needed.
- Give administrator rights only to those who need them.
- Turn on two-step verification for all administrators.
9. Are there backups, and do they work?
Find out two things: how often the site is backed up, and when someone last tested restoring a copy. A backup that has never been tested is a hope, not a plan.
10. Who is responsible?
This is the most common gap. The site was built and launched, but nobody was given the job of keeping it up to date. Decide who is responsible, or let someone keep watch for you.
What can be seen from outside
Much of this is visible even to someone who cannot log in. The source code of the home page often shows which version of WordPress and which plugins are used. You can see it yourself: right-click the home page, choose Visa sidkälla (View page source) and search for ver= or wp-content/plugins.
This is the same thing that programs look for when they scan sites automatically. Our free check looks for the same things and tells you in plain language what needs to be done. If you want to see how we protect WordPress, read about WordPress security for businesses.