{"id":475,"date":"2012-11-13T20:12:04","date_gmt":"2012-11-14T01:12:04","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/11\/13\/reinstall-wordpress-after-a-hack\/"},"modified":"2021-08-16T23:29:17","modified_gmt":"2021-08-17T03:29:17","slug":"reinstall-wordpress-after-a-hack","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/","title":{"rendered":"How to Re-Install WordPress after a Hack"},"content":{"rendered":"<p>In this article we\u2019ll discuss the steps you\u2019d want to take regarding <strong>how to re-Install WordPress after a hack<\/strong>, to get your site back up and running quickly. In most cases when a WordPress site is hacked, it is because you are not running the latest secure version of WordPress, or one of the plugins that you have installed is outdated and has been used by a hacker to exploit the site.<\/p>\n<p>A lot of the time a hacker will inject malicious code in your PHP scripts that can make it very hard to clean up manually after the injections took place. In some cases this might require our system administration department to quarantine your entire WordPress site outside of your <strong>public_html<\/strong> directory, so that we can ensure further hacks aren\u2019t taking place and further damage isn\u2019t done to your WordPress database.<\/p>\n<p>If you happen to have read our previous article on <a href=\"\/support\/security\/clean-up-code-injection-attack\/\">how to clean up a code injection attack<\/a>, the steps mentioned in that article might allow you to clean up any injections that have taken place to get your site back online.<\/p>\n<p>In the steps below we\u2019ll walk through an example site\u2019s <strong>PrimaryDomain.com<\/strong> that has been maliciously injected to the point where it\u2019s not going to be easy to remove all the malicious code and ensure we\u2019ve caught all of it. So in this case we\u2019re simply going to reinstall WordPress and then link up the new install with our old database.<\/p>\n<h2>Reinstalling WordPress after a Hack<\/h2>\n<ol class=\"article_list\">\n<li>First you\u2019ll want to <a href=\"https:\/\/wordpress.org\/download\/\">download the latest version of WordPress<\/a> to your local computer.<\/li>\n<li>Extract the files in the <strong>.zip<\/strong> archive you downloaded to a local folder.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"654\" height=\"710\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\" class=\"optimized-lcp-image\" alt=\"filezilla upload files to public html\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png 654w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html-276x300.png 276w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Using <a href=\"\/support\/website\/ftp\/getting-started-guide\/\">FTP<\/a>, upload all of the folders and files contained within the <strong>wordpress<\/strong> directory to your <b>public_html<\/b> directory. Or if your domain was an addon domain and its document root was in a sub-directory make sure you\u2019re uploading it there. You can do this by hitting <strong>Ctrl-A<\/strong> in your FTP client when you\u2019re in the left-hand pane to select all the files, then simply drag them onto the server.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-view-quarantined-wp-config.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla view quarantined wp-config\" class=\"std_ss\" height=\"624\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-view-quarantined-wp-config.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"642\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Once the files are done uploading, navigate to the <strong>quarantine<\/strong> directory on the server side, right-click on <strong>wp-config.php<\/strong> and choose <strong>View\/Edit<\/strong>. Your FTP application should prompt you for what application you\u2019d like to open the file with, you can just use a text editor such as <strong>Notepad<\/strong>. Then finally copy down the database information from the <strong>define(\u2018DB_\u2026)<\/strong> sections.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_wordpress-no-wp-config-file.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"wordpress no wp-config file\" class=\"std_ss\" height=\"439\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_wordpress-no-wp-config-file.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"781\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>At this point if you try to simply access the site you\u2019ll get a WordPress error about no <strong>wp-config.php<\/strong> file.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-save-wp-config-sample.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla save wp-config sample\" class=\"std_ss\" height=\"474\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-save-wp-config-sample.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"804\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Back in your FTP client, navigate to your <strong>public_html<\/strong> directory and you should see a file called <strong>wp-config-sample.php<\/strong>, right-click on this file and choose <strong>View\/Edit<\/strong>, open the file in <strong>Notepad<\/strong> then fill in your database name, database user, and database user password.<\/p>\n<p>Then hit <strong>Ctrl-S<\/strong> to save the file, in a few seconds your FTP client should prompt you if you\u2019d like to save this back to the server, click <strong>Yes<\/strong>. You can also place a check beside <strong>Finish editing and delete local file<\/strong> if your FTP client gives you that option.<\/p><\/li>\n<li style=\"clear: both;\">Now in your FTP client right-click on <strong>wp-config-sample.php<\/strong> choose <strong>Rename<\/strong>, and then name the file just <strong>wp-config.php<\/strong>.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-download-custom-theme.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla download custom theme\" class=\"std_ss\" height=\"710\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-download-custom-theme.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"653\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Now in this case if we try to go to our site again it\u2019s an all blank page, the reason for this is because our site used a custom theme, and those theme files are still quarantined. So next in your FTP client navigate to the <strong>\/quarantine\/wp-content\/themes<\/strong> directory, and drag over the <strong>pinboard<\/strong> directory (or whichever theme you used) to your local computer.<\/p>\n<div style=\"background-color: #fafad2; border: 1px #D3D3D3 dashed; border-radius: 5px; padding: 0px 0px 0px 5px;\"> Prior to copying your quarantined theme\u2019s files back to the server, you should scan them for a virus\/malware, or preferably re-download a fresh copy of your theme from the developer to ensure no malicious files have been placed inside your theme\u2019s folders.<\/div>\n<\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-custom-theme.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla upload custom theme\" class=\"std_ss\" height=\"711\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-custom-theme.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"652\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Now navigate on the server side to the <strong>\/public_html\/wp-content\/themes<\/strong> directory, and then drag the <strong>pinboard<\/strong> directory from the local computer to the server.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_wordpress-site-restored-successfully.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"wordpress site restored successfully\" class=\"std_ss\" height=\"657\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_wordpress-site-restored-successfully.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"795\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>You should now be able to hopefully pull up your website again free of any malicious hacks.<\/p><\/li>\n<p style=\"clear: both;\">\n<\/p><\/ol>\n<p style=\"clear: both;\">Depending on the complexity of your WordPress site, you might want to also go in and reinstall any plugins that you had setup to get your site fully functional again. These steps above should at least get you to the point where you can start logging back into your WordPress administration panel again, and get your site back online for your visitors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we\u2019ll discuss the steps you\u2019d want to take regarding how to re-Install WordPress after a hack, to get your site back up and running quickly. In most cases when a WordPress site is hacked, it is because you are not running the latest secure version of WordPress, or one of the plugins<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4298,4325,56],"tags":[],"class_list":["post-475","post","type-post","status-publish","format-standard","hentry","category-hacks","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Re-Install WordPress after a Hack | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we&#039;ll discuss the steps you&#039;d want to take after a WordPress site has been hacked, to get your site back up and running quickly.\" \/>\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.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Re-Install WordPress after a Hack | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we&#039;ll discuss the steps you&#039;d want to take after a WordPress site has been hacked, to get your site back up and running quickly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-14T01:12:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:29:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Re-Install WordPress after a Hack\",\"datePublished\":\"2012-11-14T01:12:04+00:00\",\"dateModified\":\"2021-08-17T03:29:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\"},\"wordCount\":782,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\",\"articleSection\":[\"Troubleshooting Hacked Websites\",\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\",\"name\":\"How to Re-Install WordPress after a Hack | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\",\"datePublished\":\"2012-11-14T01:12:04+00:00\",\"dateModified\":\"2021-08-17T03:29:17+00:00\",\"description\":\"In this article we'll discuss the steps you'd want to take after a WordPress site has been hacked, to get your site back up and running quickly.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png\",\"width\":654,\"height\":710,\"caption\":\"filezilla upload files to public html\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Re-Install WordPress after a Hack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Re-Install WordPress after a Hack | InMotion Hosting","description":"In this article we'll discuss the steps you'd want to take after a WordPress site has been hacked, to get your site back up and running quickly.","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.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/","og_locale":"en_US","og_type":"article","og_title":"How to Re-Install WordPress after a Hack | InMotion Hosting","og_description":"In this article we'll discuss the steps you'd want to take after a WordPress site has been hacked, to get your site back up and running quickly.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-11-14T01:12:04+00:00","article_modified_time":"2021-08-17T03:29:17+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Re-Install WordPress after a Hack","datePublished":"2012-11-14T01:12:04+00:00","dateModified":"2021-08-17T03:29:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/"},"wordCount":782,"commentCount":23,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png","articleSection":["Troubleshooting Hacked Websites","WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/","name":"How to Re-Install WordPress after a Hack | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png","datePublished":"2012-11-14T01:12:04+00:00","dateModified":"2021-08-17T03:29:17+00:00","description":"In this article we'll discuss the steps you'd want to take after a WordPress site has been hacked, to get your site back up and running quickly.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_wordpress_wordpress-hack_filezilla-upload-files-to-public-html.png","width":654,"height":710,"caption":"filezilla upload files to public html"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/reinstall-wordpress-after-a-hack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Re-Install WordPress after a Hack"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"predecessor-version":[{"id":85320,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/475\/revisions\/85320"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}