All Snippets

What To Do When Your WordPress Site Gets Hacked

By Artur Bobinski ·

What To Do When Your WordPress Site Gets Hacked

Discover the practical steps to take if your WordPress site is compromised and how professional maintenance can keep your Western New York business safe.

Don't Panic: A Calm Approach to Website Security

Finding out your website has been hacked is a stressful moment for any business owner in Buffalo, NY. Whether you notice strange links appearing on your pages, your site is redirecting to suspicious domains, or Google has flagged your site as dangerous, the first step is to stay calm. Since 2003, I have helped over 300 clients at Kenton Web Design navigate the technical challenges of the web, and security issues are unfortunately common in the WordPress ecosystem.

Step 1: Identifying the Breach and Cleaning the Files

The first thing I recommend is scanning your site to see the extent of the damage. You can use security plugins or server-side tools to find malicious code hidden in your WordPress core files or your themes. In Western New York, many local businesses rely on their websites for daily leads, so getting back online safely is the top priority.

Step 2: Securing Your Accounts

Once the malicious code is removed, you must change every single password associated with the site. This includes your WordPress admin users, your hosting control panel, your FTP accounts, and your database credentials. If the hacker gained entry through a compromised password, leaving the old one in place will just lead to another hack in a few days.

  • Change all WordPress administrator passwords.
  • Update your hosting account and FTP passwords.
  • Rotate your database credentials in the wp-config.php file.
  • Implement two-factor authentication for all logins.

Step 3: The Importance of Backups

The easiest way to recover from a hack is to restore a clean backup from before the infection happened. However, many business owners realize too late that their hosting company's backups are either incomplete or not kept long enough. This is why I emphasize the importance of off-site backups.

With monthly WordPress care, I ensure that backups are managed correctly. If your site goes down or gets compromised, having a reliable restore point turns a catastrophe into a minor inconvenience. Without a backup, you might be forced to rebuild parts of your site from scratch, which costs much more in time and lost revenue.

Prevention Through Ongoing Maintenance

Most hacks happen because a site was left unattended. Software needs updates, and WordPress is no different. As a WordPress specialist serving Western New York for over two decades, I offer monthly care to take this burden off your plate. I handle the updates and the monitoring so you can focus on running your business.

Monthly care is shaped around what your site actually needs. Monthly care is based on keeping your site healthy month to month.

The Link Between Security and Speed

A bloated, slow site is often an insecure one. Old plugins that haven't been updated in years are common entry points for hackers. A fast, lean site is easier to monitor and much harder to break into.

While Shopify is a closed platform and less prone to traditional hacks than WordPress, keeping your store optimized and updated is still vital for your bottom line.

Get a Professional Perspective

If you are worried about your current website's health, I offer a starter optimization for a one-time fee. I will get your site up to a clean, performing standard, addressing performance and basic security along the way.

Whether you are in Lockport, Buffalo, or anywhere in Western New York, I am here to be your long-term technical partner. I’ve managed over 300 projects since I started Kenton Web Design, and I’d be happy to help you secure your online presence.

Frequently asked questions

What is the fastest way to fix a hacked WordPress site?

The fastest way is to restore a clean backup from a date before the hack occurred, then immediately update all plugins, themes, and passwords to prevent a reinfection.

Do you offer specific plans to prevent my site from being hacked again?

I offer a starter optimization for a one-time fee to bring your site up to a clean, performing standard; exact scope is agreed after I look at your setup.

How long does a speed optimization take?

I offer a starter optimization for a one-time fee to bring your site up to a clean, performing standard; exact scope is agreed after I look at your setup.

$795Starter Optimization · one-time feeIf your Google PageSpeed score doesn't improve — even by a little — you get your money back.Not every site can reach a 95 on desktop or a 98 on mobile — sometimes cleaner code or a full rebuild is the honest answer. But if nothing has been done since your website was built, I can almost always improve it quite a bit.See how it works

Want a second set of eyes on your site?

I've spent 23+ years fixing, improving and maintaining WordPress and Shopify websites. Tell me what's going on and I'll recommend a practical next step.

Get in Touch

$795Starter Optimization · one-time fee

If your Google PageSpeed score doesn't improve — even by a little — you get your money back. Not every site can reach a 95 on desktop or a 98 on mobile — sometimes cleaner code or a full rebuild is the honest answer. But if nothing has been done since your website was built, I can almost always improve it quite a bit.

See how it works

Tell me about your project

A few details are enough. I reply personally by the next business day.