Skip to content
WordPress

How to Secure a WordPress Website: Updates, Backups and Logins

WordPress itself is actively maintained by a security team, but most hacked WordPress sites are broken into through outdated plugins, weak passwords or poor hosting. The fixes are mostly habits rather than technical wizardry. This owner's checklist covers what to do once, what to do every month, and what to do if the worst happens.

  • Published
  • Updated
  • 9 min read
How to secure a WordPress website: WordPress logo, a shield and a padlock in a row

TL;DR · Executive summary

Securing WordPress at a Glance

To secure a WordPress website: keep WordPress core, themes and plugins updated (minor core updates install automatically by default, and since WordPress 5.5 you can turn on auto-updates per plugin and theme); delete unused plugins and themes; use unique strong passwords and two-factor login for every admin; give each person only the role they need; run HTTPS; choose hosting with a firewall, malware scanning and a current PHP version; keep daily backups stored off the server and test a restore; and have a plan for what to do if the site is hacked. QuickHey handles this through website maintenance.

  • Outdated plugins are the usual way in
  • Use unique passwords and two-factor login
  • Keep off-server backups and test a restore
  • Remove what you do not use
Most common way in
Outdated plugins and themes
Minor core updates
Automatic by default
Plugin auto-updates
Available since WordPress 5.5
Admin login
Unique password plus two-factor
Backups
Daily, off the server, tested
Encryption
HTTPS on every page
On this page
  1. Summary
  2. Is WordPress Secure?
  3. Updates
  4. Logins & Users
  5. Hosting & HTTPS
  6. Backups
  7. If You Are Hacked
  8. FAQs

The honest answer

Are WordPress Websites Secure?

WordPress core is maintained by a dedicated security team and is secure when kept updated. Most break-ins happen through the parts owners control: outdated or poorly made plugins and themes, weak or reused passwords, too many admin accounts and cheap hosting. Good habits close most of these doors.

How WordPress sites usually get hacked, and the fix for each
Weak pointHow attackers use itFix
Outdated plugins and themesKnown security holes are scanned for automaticallyUpdate promptly; turn on auto-updates for trusted plugins
Weak or reused passwordsAutomated login guessing and leaked password listsUnique long passwords and two-factor login
Nulled premium pluginsPirated copies often contain hidden malwareOnly install from WordPress.org or the official developer
Too many admin accountsOne compromised account controls everythingGive each person the lowest role they need
Poor hostingOld server software and no firewall or isolationHosting with a firewall, malware scanning and current PHP
No backupsA hack or bad update means starting againDaily off-server backups and a tested restore

Why small business sites are targeted

Most attacks are not personal. Automated tools scan thousands of sites looking for known weaknesses, then use the ones they find to send spam, host scam pages or redirect visitors. A small clinic or shop website is just as likely to be scanned as a large one, which is why routine updates matter even if you feel you are "too small to be a target".

Habit 1

Keep WordPress, Plugins and Themes Updated

Updates fix security holes that attackers already know about, so delay is the biggest risk. Minor WordPress core releases install automatically by default. Since WordPress 5.5 you can switch on automatic updates for individual plugins and themes. Take a backup before major updates.

Update routine

  • Check Dashboard, Updates at least weekly, or let your maintenance provider do it
  • Turn on auto-updates for well-maintained plugins and themes you trust
  • Take a backup before major WordPress, theme or page builder updates
  • Delete plugins and themes you are not using; deactivated code can still be attacked
  • Replace plugins that have not been updated in a year or more
  • Keep the PHP version on your hosting at a currently supported release

Habit 2

Protect Logins and Limit Who Can Do What

Every admin login is a door into your whole site. Use a unique, long password for each person, turn on two-factor authentication, limit repeated login attempts, and give staff and freelancers the lowest role that lets them do their job. Remove accounts as soon as someone leaves.

WordPress user roles and who should have them
RoleWhat it can doGive it to
AdministratorEverything, including installing plugins and adding usersThe owner and one trusted technical person only
EditorPublish and edit all posts and pagesThe person who manages content day to day
AuthorPublish and edit their own postsRegular blog writers
ContributorWrite posts but not publish themOccasional or outside writers
Shop Manager (WooCommerce)Manage products and ordersStaff who handle the online store

Login protection checklist

  • No account uses the username "admin"
  • Every admin uses a long unique password from a password manager
  • Two-factor authentication is on for all administrator and editor accounts
  • Repeated failed logins are limited or blocked
  • Former staff, agencies and freelancers have been removed
  • The admin email address is one you check and control

Habit 3

Choose Secure Hosting and Run HTTPS Everywhere

Your hosting is the foundation. Good hosting keeps server software current, isolates your site from others on the same server, runs a firewall and malware scanning, and offers free SSL so every page loads over HTTPS. Cheap hosting without these features undoes good habits on the site itself.

Web application firewall

Blocks common attacks before they reach WordPress. Many hosts include one; otherwise a reputable security plugin or service can provide it.

Malware scanning

Regular scans spot injected code or spam pages early, before Google or visitors notice.

HTTPS and SSL

Encrypts form details and logins. Force HTTPS on every page and keep the certificate renewing automatically.

File permissions and editing

Restrict who can change files, and disable the built-in theme and plugin file editor in wp-config.php so a stolen login cannot edit code directly.

Before renewing or switching plans, check what security your host includes using our hosting and domains guide for India, and read website security basics for small business for non-WordPress advice.

Habit 4

Backups You Can Actually Restore

A backup is only useful if it is recent, stored somewhere other than your web server, and you have tested restoring it. Keep daily backups of both files and database, keep several days or weeks of copies, and test a restore at least every few months.

A simple backup plan for a business WordPress site
ItemRecommendedWhy
FrequencyDaily; more often for busy storesLimits how much work or how many orders you could lose
What to includeFiles and databaseEither one alone will not rebuild the site
Where to storeOff the server, for example cloud storageA hacked or failed server can take local backups with it
How many copiesSeveral days and weeksInfections are sometimes found days later
Restore testEvery few months, on a staging copyProves the backup actually works

When it goes wrong

What to Do If Your WordPress Site Is Hacked

Stay calm and work in order: take the site into maintenance mode, change every password, restore a clean backup or have the infection removed, update everything, then ask Google to review the site if it was flagged. Find out how attackers got in, or it will happen again.

  1. Contain it

    Put the site in maintenance mode or ask your host to take it offline so visitors are not harmed.

  2. Change every password

    WordPress users, hosting, database, FTP or SFTP, and the email linked to the admin account.

  3. Clean or restore

    Restore the last clean backup, or have a professional remove injected code and unknown users.

  4. Close the door

    Update core, plugins and themes, remove anything unused and find the weakness that was used.

  5. Check with Google

    Look in Search Console for security issues and request a review once the site is clean.

  6. Tell people if needed

    If customer data may have been exposed, take advice on your duties under the DPDP Act.

Monthly security check (15 minutes)

  • All updates applied and nothing pending
  • User list reviewed; no unknown administrators
  • Latest backup exists off the server
  • Search Console shows no security issues
  • Forms still send to the right inbox and no spam pages appear in a site: search on Google

Building a new site? Security starts with fewer, better plugins: see how to create a WordPress website and what website maintenance includes.

FAQs

WordPress Security FAQs

Plain answers to what owners ask about keeping WordPress safe.

How do I secure my WordPress website from hackers?

Keep WordPress, plugins and themes updated, delete what you do not use, use unique strong passwords with two-factor login, limit admin accounts, run HTTPS, choose hosting with a firewall and malware scanning, and keep daily off-server backups that you have tested restoring.

Are WordPress websites secure?

WordPress core is actively maintained by a security team and is secure when kept updated. Most hacked WordPress sites are compromised through outdated or poorly made plugins and themes, weak passwords or weak hosting. With good habits, WordPress is a safe choice for business websites.

Do I need a security plugin for WordPress?

A reputable security plugin helps with login protection, firewall rules and malware scanning, especially on basic hosting. If your host already provides a firewall and scanning, you may need less. A plugin does not replace updates, strong logins and tested backups, which matter most.

Should I turn on automatic updates in WordPress?

Minor core updates are automatic by default, and that should stay on. Since WordPress 5.5 you can enable auto-updates per plugin and theme, which is sensible for well-maintained ones. For major updates and complex sites, take a backup first and check the site after updating.

How often should I back up my WordPress site?

Daily backups suit most business sites, and busy online stores may need more frequent ones. Back up both files and database, store copies away from your web server, keep several days and weeks of history, and test a restore every few months so you know it works.

What should I do if my WordPress site is hacked?

Take the site offline or into maintenance mode, change every password, restore a clean backup or have the infection removed professionally, update everything and remove unused plugins, find how attackers got in, then request a review in Search Console if Google flagged the site.

Is it safe to use free WordPress plugins?

Free plugins from the official WordPress.org directory that are actively updated and widely used are generally fine. The risk comes from abandoned plugins and nulled copies of paid plugins downloaded from unofficial sites, which often contain malware. Check update dates and reviews before installing.

How do I protect the WordPress login page?

Use a unique long password for every account, avoid the username admin, turn on two-factor authentication, limit repeated failed logins and remove old accounts. Some owners also restrict admin access by location or IP through their host or firewall for extra protection.

Does SSL make my WordPress website secure?

SSL, shown as HTTPS, encrypts data between visitors and your site, protecting logins and form details in transit. It does not stop attackers exploiting outdated plugins or weak passwords. Treat HTTPS as one essential layer alongside updates, strong logins, good hosting and backups.

How much does WordPress security and maintenance cost?

₹210 to ₹790 a month covers the domain and hosting of a small WordPress site on published ranges (Hostinger India, February 2026); security and maintenance work is quoted on top. The exact price depends on the size of the site and how often it changes. QuickHey offers website maintenance covering updates, backups, security checks and small fixes, and sends a fixed written quote after reviewing your site. Build packages start from ₹12,599 with full ownership.

Sources: WordPress Developer Resources, Hardening WordPress; WordPress.org, Security; WordPress Documentation, Plugins and themes auto-updates; WordPress Developer Resources, WordPress backups; OWASP Top 10.

Keep reading

Related Guides and Next Steps

Website Security Basics

Security habits for any small business site.

Website Maintenance

Updates, backups and checks handled for you.

What Website Maintenance Includes

The routine tasks that keep a site healthy.

Website Maintenance Cost in India

What ongoing care costs.

See our website design services in Hyderabad, fixed website prices and website guides for businesses, or return to the QuickHey Technologies homepage.