• Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Mail
Contact Us | 202-236-2968 | 24/7 support | Privacy Policy
Connect4 Consulting
  • About
  • Portfolio
  • Website Design
    • Website Design Packages
    • Website Administration
    • Website Hosting, Backup, and Security
  • SEO
    • Local SEO
  • Testimonials
  • Blog
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Hacker sitting at laptop, information hacking

Website Security: Steps to Protect Your Site From Being Hacked

March 13, 2024/in Hackers, Malware, Website Security/by Gabriel Seiden

Recently a client of mine contacted me because his site looked like this:

Screenshot of a Hacked Website

Screenshot of a Hacked Website

78% of malware cases are attributed to outdated core applications, plugins or modules. That means an outdated version of WordPress, an outdated version of a theme, or an outdated version of a plugin.

Seven Steps to Prevent Your Website From Being Hacked

  1. Backup your site regularly to a location that is different from your website host.
  2. Update plugins, theme, and WordPress version whenever there is an update. Do not let versions lapse. Updates frequently exist because someone has discovered a security vulnerability.
  3. Remove themes and plugins that are not in use. Inactive themes and plugins can be used to access your website. Remove anything that is not pertinent to your site.
  4. Replace plugins that are more than 2 years old and have never been updated.
  5. Use strong usernames and passwords – a non English word with uppercase, lowercase letters, numbers and special characters.
  6. Change your nickname so it’s not your username. Otherwise you are giving hackers half the puzzle.
  7. Use a malware/security service like Sucuri or Wordfence to protect your site.

What to do if your site is hacked?

  1. Keep a deep watch – hackers usually don’t hurry to mess with your site. They do everything slowly. If you think your site has been hacked, watch everything very closely.
  2. Hope that you have that backup in hand.
  3. Contact your web host – try to contact your web host immediately regarding the unnatural activity. Maybe they can help you or maybe they know something about it.
  4. Change your FTP/SSH login passwords – immediately change the FTP and SSH login passwords. And this time, choose completely different and stronger passwords.
  5. Change “admin” username. Do not use “admin” as your username. 99% of attacks take place with this username.
  6. Change password. The hackers know your password. So – change the passwords of all the admin accounts asap. Change the database password as well.
  7. Forced Logout. All users (and hackers) stay logged in until the cookies are expired. Because cookies will be valid even after the password is changed, you need to force everyone to logout. Go to – https://api.wordpress.org/secret-key/1.1/salt/ generate a new secrete key. Add the whole code in your wp-config.php file. If similar code already exists there, just replace it. This will invalidate all the set login cookies.
  8. Update WordPress version. If you’re using an older version of WordPress you really need to update it. This might be how hackers hacked you in the first place.
  9. If the above things don’t fix the situation, there is only one option and that is to create a fresh WordPress installation.

The real lesson here is relatively simple and goes back to that old Boy Scout mantra –

Be Prepared. Have a recent backup of your site. Know how to restore it or who to call in an emergency. Keep your website, content management system, and plugins up to date. Keep all of your username and login information someplace secure because you will need this for your website host and your domain name in an emergency.

Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://connect4consulting.com/wp-content/uploads/2024/09/hacker-sitting-at-laptop-information-hacking.jpg 1335 2000 Gabriel Seiden https://connect4consulting.com/wp-content/uploads/2013/04/Connect4Consulting_LO_FF_transparent1.png Gabriel Seiden2024-03-13 07:45:392024-09-03 22:07:14Website Security: Steps to Protect Your Site From Being Hacked
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Sign up for our
weekly technology and marketing newsletter

Recent Posts

  • Schema Markup: Teaching Google (and ChatGPT) to Read Your Site
  • Fewer Plugins, Less Risk: When Custom Code Beats Reaching for Another Plugin
  • How to Get Your Google Business Cited in AI Overviews (Not Just Ranked in Google)
  • Your Google Business Profile Is a 24/7 Storefront — Here’s How to Actually Run It
  • Stop Renting, Start Owning: Why Wix and Squarespace Are a Risk

Tags

AEO AI AI overviews AI Search AI search visibility backlinks blogging calls to action Connect4 Cyber Security Survival Guide content marketing Content Strategy Core Web Vitals cyber security Digital Marketing digital marketing strategy email marketing email marketing best practice GA4 Google Google Business Profile Google Search Console internal linking keep it simple LastPass lead generation local seo managed WordPress care Mental Health Marketing online reviews phishing schema markup search engine optimization SEO small business Small Business Marketing small business website small business websites social media user experience website design Website Maintenance website security Wordpress wordpress plugins WordPress security

Sign up for our
weekly technology and marketing newsletter

Recent Posts

  • A glowing restaurant menu with illuminated labels like "Appetizer" and "Price" tagging each item in brand blue, while unlabeled items fade into shadow, symbolizing how schema markup labels website content for search engines and AI.
    Schema Markup: Teaching Google (and ChatGPT) to Read Your SiteSeptember 8, 2026 - 11:12 am
  • Fewer Plugins, Less Risk: When Custom Code Beats Reaching for Another PluginSeptember 8, 2026 - 10:08 am
  • A translucent AI interface scanning a glowing document and lifting a single highlighted paragraph in brand blue off the page, while the rest of the text fades into shadow, symbolizing an AI system extracting one citable answer from a website.
    How to Get Your Google Business Cited in AI Overviews (Not Just Ranked in Google)September 4, 2026 - 11:12 am
  • A glowing storefront window made of light on a dark city street at night, displaying a star rating, map pin, and review icons in brand blue, symbolizing a Google Business Profile that stays visible around the clock.
    Your Google Business Profile Is a 24/7 Storefront — Here’s How to Actually Run ItSeptember 4, 2026 - 10:59 am
  • Stop Renting, Start Owning: Why Wix and Squarespace Are a RiskSeptember 2, 2026 - 9:46 am
© Copyright 2026 - Connect4 Consulting
812 Elm Ave. Takoma Park, MD 20912
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Mail
  • About
  • Portfolio
  • Website Design
  • SEO
  • Testimonials
  • Blog
Link to: Ten ways to protect yourself online Link to: Ten ways to protect yourself online Ten ways to protect yourself onlineGladiator holding shield and sword Link to: Maximizing Your Small Business Website’s Potential Link to: Maximizing Your Small Business Website’s Potential Maximizing Your Small Business Website’s Potential
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Accept settingsHide notification only