How to secure a WordPress site: a simple checklist
How to secure a WordPress site: a simple checklist
Even a small WordPress site can be the target of an attack. A blog, a business site, or an online store can all be compromised to post spam, steal information, or redirect people to malicious sites. For the owner, the consequences can be service disruption, lost revenue, reduced search visibility, and a loss of customer trust.

Security on those sites is non-negotiable. WordPress security updates address known vulnerabilities in the core software. Site owners also need to keep their plugins and themes up to date, secure their user accounts, and ensure their hosting environment receives the latest security updates.
We'd recommend taking a holistic approach to website security, combining prevention, monitoring, and recovery. Software updates and better access controls will go some way to reducing the number of opportunities an attacker has. Regular checks will allow you to identify any issues that require further investigation, and you'll need reliable backups in place as a means of recovery if things go wrong. Nothing is going to be 100% secure, but these are the things you can do to reduce your risk and give yourself the ability to respond if something does go wrong.
In this guide, we explain how to secure a WordPress site with a simple checklist covering the essential steps. We also show how the PCrisk Trust Badge WordPress plugin supports recurring security monitoring, with paid plans adding a badge visitors can click to review the latest scan findings. The PCrisk Website Scanner provides a starting point for checking your site's current reported security status.
Table of Contents:
- Introduction
- WordPress security checklist at a glance
- Check your site's current security status
- Create backups you can restore
- Keep WordPress, plugins, and themes updated
- Protect administrator accounts and limit access
- Enable firewall and login protection
- Monitor your site with PCrisk Trust Badge for WordPress
- How to install PCrisk Trust Badge on WordPress
- Follow a simple WordPress security maintenance routine
- What to do if your WordPress site is flagged
- In closing
- Frequently asked questions (FAQs)
WordPress security checklist at a glance
We recommend using this checklist to review your security setup and plan ongoing maintenance. Each task is explained in the chapters below.
- Check your site's current status. Use the PCrisk Website Scanner to review reported security findings.
- Create backups that you can restore. Back up the files and the database, keep a safe separate copy, and test the restore.
- Keep your software up to date. Make sure WordPress, your plugins, and your themes are all up to date. Get rid of anything you're not using and replace anything that's unsupported.
- Protect the admin accounts. Use long, unique passwords, 2FA, and appropriate user permissions.
- Review hosting, PHP, and HTTPS. Confirm server maintenance, supported PHP, HTTPS configuration, and certificate renewal.
- Enable firewall and login protection. Filter out suspicious requests and limit the number of repeated failed sign-ins.
- Set up recurring monitoring. Install the PCrisk Trust Badge WordPress plugin. The paid plans include daily checks and a public badge.
- Assign ongoing maintenance. Schedule reviews of the updates, backup completion, user access, and monitoring settings.
- Respond promptly to warnings. Document the findings, investigate the root cause, fix any issues that are confirmed, verify the repair has been successful, and, where appropriate, request a re-assessment.
Check your site's current security status
We recommend starting with the PCrisk Website Scanner to check your site's current reported security status. This gives you an initial assessment of its publicly accessible content and related security signals.
1. Enter your website address. Open the scanner, enter the URL you want to check, and select "Check website" to start the scan.

2. Review the report and its timestamp. Check when the assessment was completed, then read the overall verdict and trust score. Make sure you are reviewing current findings.

3. Look at the individual findings. Don't just look at the overall score. Have a look at any malware/phishing detections, any reputation warnings, any suspicious resources, and any SSL/TLS certificate issues.

Record anything that you need to investigate. Save the relevant URLs and the details of the report. Pass this on to your developer or hosting provider so they can investigate and fix any issues that are confirmed.
4. A clean report in no way guarantees that your site is 100% secure. An external scan won't look at every single private server file, every user account, or every WordPress setting, and the state of the site can change at any time afterward. Take the results as a starting point and then go on to the updates, access controls, backups, and ongoing monitoring as covered in the following checklist.
Create backups you can restore
Regular backups help you recover after a security incident, failed update, or hosting problem. We recommend backing up both your WordPress database and your website files (including uploaded media, plugins, and themes). You should have several dated copies so that you have more than one recovery option.
You can create a backup using your hosting provider's tools or a plugin such as All-in-One WP Migration:
1. Install and activate the plugin from the WordPress plugin directory.

2. Open All-in-One WP Migration > Export in your WordPress dashboard.

3. Select Export Site To > File. Leave options that exclude your database, media, themes, or plugins unchecked so these components are included in your backup.

4. Download the completed backup and store it in a protected location outside your website's hosting account. This helps prevent one server failure or compromised account from affecting both your site and its only backup.

The export will save your database and your WordPress content (including uploads, plugins, and themes). It won't save the WordPress core or every single server configuration file. Your host will be able to tell you what other files/settings your recovery plan will need.
To restore on a new install, you'd first install WordPress and All-in-One WP Migration, then go to All-in-One WP Migration > Import > File and select your backup. Make sure your hosting upload limit will allow the backup file to be uploaded, and if the import is being blocked, then get assistance from your host. Test restoration on a separate WordPress installation before relying on your backups. Importing a backup can overwrite data on the destination site.
For ongoing backups, you'll want to pick a hosting feature or backup tool that supports scheduling. Match the frequency of the backups to how often your content or orders are going to be changing and create a fresh backup prior to any major updates. If you're restoring following an attack, then use a known clean copy and deal with the root cause of the compromise. Simply restoring files won't stop the same issue from recurring.
Keep WordPress, plugins, and themes updated
Security updates patch known vulnerabilities which attackers could potentially exploit. We recommend that you keep WordPress, your plugins, and your themes up to date and apply any security patches as soon as possible.
To update your website:
1. Confirm you've got a recent backup. It should contain your website files and database, and you should know how to restore it.
2. Open Dashboard > Updates. Look at the available updates and any compatibility requirements prior to installing them.

3. Install the updates and then check your site. Test the key pages, forms, logins, and checkout processes. Where possible, use a separate test environment for major changes.
Enable automatic updates
Automatic updates reduce the need for manual checking. You can enable them individually:

Plugins: Open Plugins > Installed Plugins and select Enable auto-updates next to the relevant plugin.

Themes: Open Appearance > Themes, select a theme, and click Enable auto-updates in its details.
Your hosting provider or site configuration may control whether these options are available. Check how your host manages WordPress core updates as well.
Automatic updates still require some level of oversight. You'll need to review the update notifications, look at any update failures, and keep your backups available in the event that an update causes some kind of compatibility issue. Turning on automatic updates doesn't mean that every update will automatically install successfully.
Remove unused plugins and themes
Delete plugins you don't need anymore rather than just leaving them deactivated. Deactivating them leaves their files on the server, so potentially vulnerable code will still be there.
Remove unnecessary themes while keeping your active theme and any parent theme it requires. Use only maintained software from the official WordPress directory or from a reputable developer, and replace any components that are no longer receiving support.
Removing unused software reduces the number of components you need to maintain. The goal is to keep only the tools your website needs and ensure they remain supported and updated.
Protect administrator accounts and limit access
Protect your admin accounts with strong passwords and two-factor authentication (2FA). Use a password manager to generate a long, unique password for each account. Add 2FA via a suitable plugin or login provider and store any recovery codes it provides. Apply the same level of protection to your hosting, domain registrar, and recovery email accounts.
Give each person their own account with only the permissions that their work requires. A person who's writing or editing articles may only need Author or Editor level access rather than Administrator access. Regularly review Users > All Users, remove any access that is no longer required, and look out for any admin accounts you don't recognize.
Replace a predictable administrator username
If your admin account is using "admin," you can, of course, change that to something less predictable. Back up your site first, then:
1. Create a new admin account with a different username and a strong, unique password. Enable 2FA on that account before you remove the old one.

2. Sign in with the new account and confirm that it works correctly.
3. Remove the old account, choosing to reassign its content to the new account before confirming deletion. Check any plugin-specific account data before proceeding.

Changing a username is an extra precaution. It doesn't in any way replace the need for strong passwords and 2FA.
Restrict login access where appropriate
For sites which are being managed from a fixed, trusted IP address, ask your hosting provider whether it makes sense to restrict administrative access. Do ensure you have a recovery method in case your IP address does change.
Don't just go and allow access from an entire ISP's address range to cater for a changing IP. For admins who are going to be logging in from various locations all the time, 2FA and limits on the number of login attempts are far more sensible starting points. Get your host to set up any access restrictions so that legitimate site functions are still available.
Check your hosting, PHP version, and HTTPS
Your hosting environment needs regular maintenance alongside WordPress itself. We recommend checking these areas with your hosting provider:
- Hosting security and support. Ask about server updates, isolation between customer accounts, backups, and assistance during a security incident. Clarify which tasks your host handles and which remain your responsibility. A VPS or dedicated server still needs proper configuration and maintenance.
- A supported PHP version. PHP is the server-side software that runs WordPress. Under Tools > Site Health > Info > Server, you can check which PHP version your website uses, then ask your host to confirm that it receives security updates and has the latest patches. Always back up your site before changing your PHP version, and of course check compatibility. Updating WordPress will not update your PHP version, as PHP is controlled by your host.
- HTTPS throughout the site. Ask your host to install a valid SSL/TLS certificate, set up HTTPS, redirect all HTTP traffic to HTTPS, and arrange for the certificate to be renewed. Check the key pages (login forms, checkout, etc.) for browser warnings. HTTPS encrypts the information that is being sent between your site and your visitors, so it helps to protect sensitive data in transit. However, HTTPS alone does not prove that a website is safe or legitimate.
When accessing the server files, use an encrypted connection (SFTP or SSH). Ask your host to protect your sensitive configuration files (including wp-config.php and any backup copies) and to ensure that private backups and logs are not publicly accessible. Remove any test apps and temporary files that may be exposing information or creating a vulnerability.
Enable firewall and login protection
A web application firewall (WAF) will help to filter out the suspicious requests that are going to your website. It does this by applying rules and other signals to identify attack patterns (e.g., attempts to exploit a vulnerability via SQL injection or cross-site scripting). How effective it is will depend on how it's configured and what level of protection its rules provide.
We recommend checking whether your hosting provider already includes a WAF and keeps its rules updated. Also ask what DDoS protection is available, since a WAF alone does not cover every type of attack.
To strengthen login protection:
- Limit the number of repeated login attempts. You can use your host's own controls for this or a suitable security plugin to throttle or temporarily block repeated failed logins. A bot challenge is a sensible option in the right circumstances.
- Keep your account protections in place. Use strong passwords and two-factor authentication as described in the administrator account section.
- Test legitimate access. Once you've changed the firewall or login settings, make sure admins can still log in and that the contact forms, customer accounts, and the checkout process all still work. Look at any requests that have been blocked before you start to relax the rules.
Keep WordPress, your plugins, and your themes updated even if you have a firewall in place. A firewall can filter out some of the bad traffic, but it won't fix the underlying vulnerabilities, and it doesn't replace the need for ongoing security monitoring.
Monitor your site with PCrisk Trust Badge for WordPress
Regular monitoring helps you track changes in the reported security status of your site. A single scan is just one assessment. Repeated scanning will allow you to pick up on any new issues that may be flagged. Our PCrisk Trust Badge WordPress plugin makes these checks part of your routine and will give you access to the results via your WordPress dashboard.
We scan your website from the public web, checking for malware indicators, phishing and reputation warnings, and SSL/TLS certificate issues. The assessment uses more than 90 antivirus and URL reputation engines and 10 threat databases, alongside analysis of page code and embedded resources. These findings help you identify issues to investigate or share with your developer or hosting provider.
You can choose between two levels of monitoring:
- Free monitoring: One website receives a monthly external scan, with its trust score and verdict available in WordPress. We email the result after each scan, whether it reports concerns or finds no threats.
- Paid monitoring: Your website is checked every 24 hours, with email alerts when an assessment identifies a problem. Paid plans also include the public badge and the report visitors can open from it.
The badge makes your latest security findings easy for visitors to verify. Clicking it opens a report hosted by PCrisk showing the latest completed scan's date, verdict, trust score, and findings. Its visibility follows our verification criteria: if a subsequent assessment no longer qualifies, the badge is hidden until the site qualifies again.
External monitoring supplements the updates, backups, access controls, and firewall protection. It doesn't go through every single private server file; it doesn't stop attacks, and it doesn't remove malware. A clean report in no way guarantees that your system is completely safe.
Start with recurring monitoring, then add in daily checks and a public badge if you want more frequent checks and a visible verification for your visitors.
How to install PCrisk Trust Badge on WordPress
You can install our PCrisk Trust Badge WordPress plugin directly from your WordPress dashboard. Sign in with an account that has permission to install plugins, then follow these steps:
1. Install and activate the plugin. Open Plugins > Add New Plugin, search for "PCrisk Trust Badge," and select the official plugin by PCrisk. Click Install Now, then Activate.

2. Connect your website. Open Trust Badge in the WordPress admin menu. Review the connection notice and follow the prompts to complete your PCrisk account setup and connect your domain. The first scan starts as part of this process.
3. Review the trust score, verdict, and reported findings in WordPress. Investigate any warnings using the steps in the "What to do if your WordPress site is flagged" section below. Your free monitoring is now set up. Steps 4-6 apply if you want to display the public badge.

4. Optional: activate a plan that includes the badge. Free monthly monitoring won't show a public badge. To get a badge you'll need to activate a paid plan. The badge will appear once your plan is active and your site's assessment meets our verification criteria.
5. Choose the design and placement. Select a style, size and position, check the preview and save your settings. We'd recommend a location that's visible but doesn't obscure your navigation or your purchase buttons. For store specific advice on this see how to add trust badges to WooCommerce.

6. Check the published badge. View your website on desktop and mobile, then click the badge. Confirm that it opens the report for your domain and shows the latest completed scan's timestamp. Our article on trust badges: real ones vs. pictures explains what visitors should be able to verify.

Follow a simple WordPress security maintenance routine
Regular maintenance keeps your security measures working after setup. We recommend the following schedule, adjusted to your website's activity and the amount of data you could afford to lose.
- Promptly: Investigate security alerts, failed backups, and unexpected changes. Apply the urgent security fixes and remove access where appropriate when someone leaves.
- Weekly: Check for any available updates and any failed automatic updates. Confirm the backups have run successfully, ensure that the separate copies are still accessible, and follow up on any unresolved warnings.
- Monthly: Review user roles, installed plugins and themes, and the monitoring settings. Remove any access that is not required and ensure that someone is actually monitoring the email address that the scan results are sent to.
- Recovery and functionality checks: Periodically test backup restoration in a separate environment. Following any major update or configuration change, check the key pages, forms, logins, and checkout.
Assign responsibility for updates, backups, and incident alerts so each task has an owner. Busy stores and frequently changing websites may need more frequent checks and backups.
What to do if your WordPress site is flagged
A security warning requires investigation even if your site seems to be working fine. A genuine site can be compromised, and we'd advise looking at the evidence before declaring it a false positive.
1. Record the warning. Take a screenshot and record the affected URLs, detection name, security provider, and date and time.
2. Ask your host or developer to look into it. Pass them the warning and your PCrisk scan results so they can have a look for any malicious content, any unexpected redirects, and any sign of compromised access.
3. Fix confirmed issues. Remove harmful content and address the vulnerability or account compromise that allowed it onto your website.
4. Verify the repairs. Retest affected pages and run follow-up checks. A clean external scan alone cannot confirm that every issue has been resolved.
5. Request a reassessment if required. If the warning stays or there's evidence of a false positive, then get in touch with the relevant security provider with your findings and details of any remedial work that you've done.
For Google Safe Browsing warnings, see our guide to handling "Deceptive site ahead" on your website. For antivirus blocks, follow our instructions for getting your website unblocked.
In closing
Securing a WordPress site is a case of ongoing maintenance. Keep your software up to date, protect your admin accounts, have backups that you can actually restore, and look at any security warnings that you get as soon as possible. We'd recommend that you assign someone responsibility for these things and that you review them as your site evolves.
The PCrisk Website Scanner provides a starting point for checking your site's reported security status. Our PCrisk Trust Badge WordPress plugin helps you continue those checks through recurring monitoring. With a paid plan, we scan your website every 24 hours, while the clickable badge gives visitors access to your latest completed scan report and its timestamp.
Make ongoing checks part of your maintenance routine and give visitors a clear way to review your website's latest security findings.
Frequently asked questions (FAQs)
What's the best way to secure a WordPress site?
Mix in some regular maintenance with a number of security measures. Keep WordPress, your plugins, and your themes all up to date. Use strong passwords and two-factor authentication. Limit admin access and maintain backups that you can restore. We'd also recommend firewall protection and ongoing monitoring. The PCrisk Trust Badge WordPress plugin will perform regular external checks to help you keep up with your site's reported security status.
How often should you be updating your WordPress plugins for security?
Install security fixes as soon as they're available. We'd recommend checking for pending updates at least once a week, though of course urgent fixes shouldn't be deferred until your next scheduled maintenance day. Where possible, enable automatic updates, check the failure notifications, maintain a recoverable backup, and check that the key website functions are still working after the update.
Does WordPress need a firewall?
We'd recommend a web application firewall (WAF) as an additional layer of protection. It can filter suspicious requests and help reduce automated attacks. Your host may already have one in place, so it's worth checking that first. A WAF complements software updates, strong authentication, backups, and monitoring. It does not replace these measures.
Is WordPress easily hacked?
The risk depends on several factors, including how your site is maintained and configured. Vulnerable plugins and themes, weak or stolen passwords, and poor access controls can all make compromise much easier. The risk can be reduced by keeping your software supported and up to date, restricting access, and having appropriate protection in place, though, of course, no site is completely immune.
How can a malicious link end up on a WordPress site?
Possible causes are, of course, vulnerable plugins or themes, compromised admin or host accounts, malicious third-party ads/widgets, and spam comments. A bad link doesn't necessarily mean the whole site has been hacked. We'd recommend asking your host or developer to have a look at the affected pages, any recent changes, and the access logs, and then, of course, remove the bad content and deal with the root cause.
Share:
