{"id":78,"date":"2026-09-14T11:00:25","date_gmt":"2026-09-14T11:00:25","guid":{"rendered":"https:\/\/kb-staging.interprowebhost.com\/?p=78"},"modified":"2026-09-14T11:00:25","modified_gmt":"2026-09-14T11:00:25","slug":"how-to-recover-hacked-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/","title":{"rendered":"How to Recover a Hacked WordPress Site"},"content":{"rendered":"<body><p>Strange new admin users, spammy links appearing in your pages, Google warning visitors away from your site, or emails you never sent going out from your domain: these are the classic signs of a hacked WordPress site. It feels awful, but it is recoverable, and thousands of site owners have been through exactly this. Work this plan in order. Do not skip the containment steps, and do not just clean the visible symptoms and call it done.<\/p>\n<h2>Step 1: Stay calm and contain it<\/h2>\n<p>First, do not delete everything in a panic. Change every password connected to the site right now: your WordPress admin password, your cPanel password, your client area password, and the passwords of any other admin users. If attackers still have a working login, anything you clean can be undone in minutes. Check the WordPress users list for admin accounts you do not recognize and remove them. If your site sends mail, check that attackers have not set up forwarding or new mailboxes.<\/p>\n<h2>Step 2: Identify how they got in<\/h2>\n<p>Most WordPress hacks come through a short list of doors: an outdated plugin or theme with a known vulnerability, a weak or reused admin password, or a compromised computer of someone with admin access. Check your plugins and themes for anything badly out of date. Ask everyone with admin access whether their password was weak or used elsewhere. Knowing the entry point matters because cleaning without closing it just invites a repeat visit.<\/p>\n<h2>Step 3: Restore from a clean backup<\/h2>\n<p>The fastest reliable recovery is restoring a backup from before the hack. See <a href=\"\/knowledgebase\/knowledgebase\/how-website-backups-work-and-restore\/\">How Website Backups Work, and How to Restore One<\/a> for the process. Pick a backup date from clearly before the first sign of trouble. If you are not sure when the hack started, go further back rather than risk restoring an already infected copy. After restoring, immediately update WordPress, all themes, and all plugins to their latest versions before doing anything else.<\/p>\n<h2>Step 4: If no clean backup exists, clean manually<\/h2>\n<p>Without a usable backup, the site must be cleaned file by file. This means replacing all WordPress core files with fresh copies, reinstalling every plugin and theme from clean sources, and carefully checking uploads folders and custom files for malicious code. This is painstaking work and easy to get wrong; missed backdoors are the reason cleaned sites get hacked again. Unless you are experienced with this, <a href=\"https:\/\/www.interprowebhost.com\/contact-us\/\">open a support ticket<\/a> at this point and ask for help rather than attempting it alone.<\/p>\n<h2>Step 5: Close the hole for good<\/h2>\n<p>Recovery is not finished when the spam is gone. Work through <a href=\"\/knowledgebase\/knowledgebase\/wordpress-security-checklist-12-essentials\/\">WordPress Security Checklist: 12 Essentials<\/a> and apply every item: updates on a schedule, strong unique passwords with <a href=\"\/knowledgebase\/knowledgebase\/strong-passwords-and-two-factor-authentication\/\">two-factor authentication<\/a>, removal of unused plugins and themes, and regular backups you actually keep. Attackers keep lists of vulnerable sites and retry them. A site that was hacked once and properly hardened is a worse target than one that was merely cleaned.<\/p>\n<h2>Step 6: Check the wider damage<\/h2>\n<p>A hack can reach beyond your pages. Check Google Search Console for security warnings on your site and request a review once you are clean, so the warnings get lifted. Check whether your domain or sending IP ended up on email blacklists, since hacked sites are often used to send spam; see <a href=\"\/knowledgebase\/knowledgebase\/why-business-email-goes-to-spam\/\">Why Your Business Email Goes to Spam<\/a>. If customer data may have been exposed, take that seriously and get proper advice on your notification obligations. Do not hide a data exposure; handle it properly.<\/p>\n<p>Still stuck? <a href=\"https:\/\/www.interprowebhost.com\/contact-us\/\">Open a support ticket<\/a> with your domain, what you are seeing, and when it started. Tell us whether you have a backup from before the hack. We will help you plan the recovery.<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Strange new admin users, spammy links appearing in your pages, Google warning visitors away from your site, or emails you never sent going out from your domain: these are the classic signs of a hacked WordPress site. It feels awful, but it is recoverable, and thousands of site owners have been through exactly this. Work [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-site-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Strange new admin users, spammy links appearing in your pages, Google warning visitors away from your site, or emails you never sent going out from your domain: these are the classic signs of a hacked WordPress site. It feels awful, but it is recoverable, and thousands of site owners have been through exactly this. Work [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/\" \/>\n<meta property=\"og:site_name\" content=\"InterProWebHost Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-14T11:00:25+00:00\" \/>\n<meta name=\"author\" content=\"interpro_kb_admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"interpro_kb_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/\"},\"author\":{\"name\":\"interpro_kb_admin\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/#\\\/schema\\\/person\\\/11da2abcd4a56b655e2163f746aea80a\"},\"headline\":\"How to Recover a Hacked WordPress Site\",\"datePublished\":\"2026-09-14T11:00:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/\"},\"wordCount\":623,\"commentCount\":0,\"articleSection\":[\"Site Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/\",\"url\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/\",\"name\":\"How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/#website\"},\"datePublished\":\"2026-09-14T11:00:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/#\\\/schema\\\/person\\\/11da2abcd4a56b655e2163f746aea80a\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/how-to-recover-hacked-wordpress-site\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Recover a Hacked WordPress Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/#website\",\"url\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/\",\"name\":\"InterProWebHost Knowledge Base\",\"description\":\"My WordPress Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/#\\\/schema\\\/person\\\/11da2abcd4a56b655e2163f746aea80a\",\"name\":\"interpro_kb_admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g\",\"caption\":\"interpro_kb_admin\"},\"sameAs\":[\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\"],\"url\":\"https:\\\/\\\/www.interprowebhost.com\\\/knowledgebase\\\/author\\\/interpro_kb_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/","og_locale":"en_US","og_type":"article","og_title":"How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base","og_description":"Strange new admin users, spammy links appearing in your pages, Google warning visitors away from your site, or emails you never sent going out from your domain: these are the classic signs of a hacked WordPress site. It feels awful, but it is recoverable, and thousands of site owners have been through exactly this. Work [&hellip;]","og_url":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/","og_site_name":"InterProWebHost Knowledge Base","article_published_time":"2026-09-14T11:00:25+00:00","author":"interpro_kb_admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"interpro_kb_admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/#article","isPartOf":{"@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/"},"author":{"name":"interpro_kb_admin","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/#\/schema\/person\/11da2abcd4a56b655e2163f746aea80a"},"headline":"How to Recover a Hacked WordPress Site","datePublished":"2026-09-14T11:00:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/"},"wordCount":623,"commentCount":0,"articleSection":["Site Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/","url":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/","name":"How to Recover a Hacked WordPress Site - InterProWebHost Knowledge Base","isPartOf":{"@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/#website"},"datePublished":"2026-09-14T11:00:25+00:00","author":{"@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/#\/schema\/person\/11da2abcd4a56b655e2163f746aea80a"},"breadcrumb":{"@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/how-to-recover-hacked-wordpress-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.interprowebhost.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How to Recover a Hacked WordPress Site"}]},{"@type":"WebSite","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/#website","url":"https:\/\/www.interprowebhost.com\/knowledgebase\/","name":"InterProWebHost Knowledge Base","description":"My WordPress Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.interprowebhost.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.interprowebhost.com\/knowledgebase\/#\/schema\/person\/11da2abcd4a56b655e2163f746aea80a","name":"interpro_kb_admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2109e8999ccee8a6ebc8b314a1e731bf79659a4779fe32813bc8d9ea26e93786?s=96&d=mm&r=g","caption":"interpro_kb_admin"},"sameAs":["https:\/\/www.interprowebhost.com\/knowledgebase"],"url":"https:\/\/www.interprowebhost.com\/knowledgebase\/author\/interpro_kb_admin\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.interprowebhost.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}