{"id":429,"date":"2013-05-06T04:21:54","date_gmt":"2013-05-06T04:21:54","guid":{"rendered":"http:\/\/www.ultimatewb.com\/blog\/?p=429"},"modified":"2026-06-02T01:10:33","modified_gmt":"2026-06-02T08:10:33","slug":"wordpress-website-hacked-how-to-fix-it","status":"publish","type":"post","link":"https:\/\/www.ultimatewb.com\/blog\/429\/wordpress-website-hacked-how-to-fix-it\/","title":{"rendered":"WordPress website hacked?  How to fix it&#8230;!"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\">    <picture>\n                <source type=\"image\/webp\" srcset=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-150x100.webp 150w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-500x333.webp 500w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-610x407.webp 610w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-800x533.webp 800w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-1200x800.webp 1200w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it.webp 1536w\" sizes=\"(max-width: 767px) 100vw, (max-width: 1200px) 90vw, 70vw\">\n                <img src=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it.jpg\" \n             srcset=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-150x100.jpg 150w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-500x333.jpg 500w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-610x407.jpg 610w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-768x512.jpg 768w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-800x533.jpg 800w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it-1200x800.jpg 1200w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-hacked-how-to-fix-it.jpg 1536w\" \n             sizes=\"(max-width: 767px) 100vw, (max-width: 1200px) 90vw, 70vw\" \n             width=\"1536\" \n             height=\"1024\" \n             alt=\"Steps to fix your hacked WordPress website.\" \n             loading=\"lazy\" \n              \n             decoding=\"async\" \n             class=\"wp-image-9894\" >\n    <\/picture>\n    <\/figure>\n\n\n\n<p>If your website isn&#8217;t displaying the way it should &#8211; for example the page header doesn&#8217;t display &#8211; and\u00a0your WordPress blog\u00a0prints out\u00a0an error instead of displaying your awesome blog posts &#8211; and you haven&#8217;t changed anything &#8211;\u00a0 it means your website has been hacked.\u00a0<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-large is-resized\"><a href=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress.png\">    <picture>\n                <source type=\"image\/webp\" srcset=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-150x150.webp 150w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-500x500.webp 500w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-610x610.webp 610w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-800x800.webp 800w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress.webp 1200w\" sizes=\"(max-width: 767px) 100vw, (max-width: 1200px) 90vw, 70vw\">\n                <img src=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress.png\" \n             srcset=\"https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-150x150.png 150w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-500x500.png 500w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-610x610.png 610w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-768x768.png 768w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress-800x800.png 800w, https:\/\/www.ultimatewb.com\/blog\/wp-content\/uploads\/wordpress.png 1200w\" \n             sizes=\"(max-width: 767px) 100vw, (max-width: 1200px) 90vw, 70vw\" \n             width=\"1200\" \n             height=\"1200\" \n             alt=\"WordPress\" \n             loading=\"lazy\" \n              \n             decoding=\"async\" \n             class=\"wp-image-4435\" >\n    <\/picture>\n    <\/a><\/figure><\/div>\n\n\n<p>Chances are it is from your WordPress blog\u00a0or its\u00a0third party <a href=\"https:\/\/www.ultimatewb.com\/blog\/?s=plugins\">plugins<\/a> you are using.\u00a0 Perhaps from a backdoor, like when in 2011\u00a0three popular WordPress plugins (AddThis, WPtouch, and W3 Total Cache), had <a title=\"WordPress plugins hacked \u2013 Understanding the backdoor\" href=\"http:\/\/blog.sucuri.net\/2011\/06\/wordpress-plugins-hacked-understanding-the-backdoor.html\" target=\"_blank\" rel=\"noopener\">malicious backdoors added to them via the plugin repository<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Preventing the Hack&#8230;<\/strong><\/h2>\n\n\n\n<p>That is why it is important to keep your WordPress blog and plugins up-to-date, especially when there are security fixes released.&nbsp;But sometimes like in the 2026 <a href=\"https:\/\/www.ultimatewb.com\/blog\/8929\/the-wordpress-backdoor-scandal-why-30-trusted-plugins-just-turned-malicious\/\">WordPress Backdoor Scandal, where 30+ \u201ctrusted\u201d plugins just turned malicious<\/a> it&#8217;s something out of your hands if you trusted to use the third-party plugins in the first place.<\/p>\n\n\n\n<p>If you have UltimateWB, and WordPress integrated with it, you can still upgrade your WordPress from its admin panel without worrying about the integration being broken &#8211; if needed, you just go to your UltimateWB website Admin Panel, Pages &gt; Edit Page &gt; Blog, and click the link to update your blog integration! Easy! Since SEO is built-in the UltimateWB integrated WordPress blog, there is no need for a third-party plugin for optimizing your website blog. And the UltimateWB built-in features reduces the need for any third-party plugin, for that matter. So, just make sure to keep the WordPress core updated for any security fixes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>The Steps to Fix Your Hacked WordPress Website<\/strong><\/h2>\n\n\n\n<p>Ok, so how to fix your website that has been hacked, and make sure&nbsp;it doesn&#8217;t get hacked again and again&nbsp;&#8211; here&#8217;s&nbsp;2 easy steps to do it:<br>(by the way, you might want to get a backup first, but also make sure you have some anti-virus software installed on your computer! Best to backup in zip\/compressed formats, for extra security.)<\/p>\n\n\n\n<p><strong>1) Upgrade all your software files &#8211; manually.&nbsp;<\/strong> You should delete all your current software\/WordPress files, and then upload the new ones.&nbsp; Make sure you don&#8217;t delete your uploaded content though, for example uploaded images, files, etc.&nbsp; For WordPress,&nbsp;these files are under your&nbsp;&nbsp;<strong>wp-content folder<\/strong>.&nbsp; If you upgrade automatically, you might not be catching the backdoor if it&#8217;s an extra file, as it might not get deleted.<\/p>\n\n\n\n<p><strong>2) After step 1, your website\/blog should look great, back to normal.&nbsp; But, you might not be done yet!&nbsp;<\/strong> You might have missed the backdoor extra file injected on your server.&nbsp; If you miss the backdoor file, next time it is accessed, your website will be broken again.&nbsp; You should check your raw access logs.&nbsp; These are logs keeping track of the traffic to your website, on each access &#8211; not just the entry file like in your traffic statistics.&nbsp; If you don&#8217;t know&nbsp;where these are, ask your web hosting company.&nbsp; You will want to skim through the lines, checking for any weird&nbsp;files being accessed &#8211; you will want to delete these files that weren&#8217;t part of your website before.<\/p>\n\n\n\n<p>Ok, now you&#8217;re done.&nbsp; Check to make sure your website is running smoothly.&nbsp; Take a backup of your website\/database on a continuous basis.&nbsp; Sometimes when your website gets hacked, you can lose your data.<\/p>\n\n\n\n<p>Related: <a href=\"https:\/\/www.ultimatewb.com\/blog\/1904\/what-do-i-do-if-someone-hacked-my-wordpress-e-commerce-site\/\">What do I do if someone hacked my WordPress e-commerce site?<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.ultimatewb.com\/blog\/463\/why-do-wordpress-websites-and-blogs-get-hacked-so-much\/\">Why do WordPress websites and blogs get hacked so much?<\/a><\/p>\n\n\n\n<p>Sometimes you can lose your website content with some website builders, but not due to hacking: <a href=\"https:\/\/www.ultimatewb.com\/blog\/9283\/lost-your-work-in-squarespace-wix-or-wordpress-heres-why-it-happens-and-how-to-prevent-it\/\">Lost Your Work in Squarespace, Wix, or WordPress? Here\u2019s Why It Happens (and How to Prevent It)<\/a><\/p>\n\n\n\n<p>And sometimes your WordPress website error is not a hacking, but a plugin issue that can be easily fixed: <a href=\"https:\/\/www.ultimatewb.com\/blog\/9041\/how-to-fix-wordpress-error-class-c_nextgen_settings-not-found\/\">How to Fix: WordPress Error Class \u2018C_NextGen_Settings\u2019 Not Found<\/a><\/p>\n\n\n\n<p>And sometimes your WordPress plugin update just breaks your website: <a href=\"https:\/\/www.ultimatewb.com\/blog\/6495\/how-one-plugin-update-broke-a-wordpress-site-and-how-you-can-avoid-it\/\">How One Plugin Update Broke a WordPress Site \u2013 And How You Can Avoid It<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Want to design &amp; build your own website, without a need for third-party plugins? Learn more about&nbsp;<a href=\"https:\/\/www.ultimatewb.com\/\">UltimateWB<\/a>! We also offer&nbsp;<a href=\"https:\/\/www.ultimatewb.com\/web-design-packages\">web design packages<\/a>&nbsp;if you would like your website designed and built for you.<\/p>\n\n\n\n<p><em>Got a techy\/website question? Whether it\u2019s about UltimateWB or another website builder, web hosting, or other aspects of websites, just send in your question in the&nbsp;<a href=\"https:\/\/www.ultimatewb.com\/ask-david\">\u201cAsk David!\u201d form<\/a>. We will email you when the answer is posted on the UltimateWB \u201cAsk David!\u201d section.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your website isn&#8217;t displaying the way it should &#8211; for example the page header doesn&#8217;t display &#8211; and\u00a0your WordPress blog\u00a0prints out\u00a0an error instead of displaying your awesome blog posts &#8211; and you haven&#8217;t changed anything &#8211;\u00a0 it means your &hellip; <a href=\"https:\/\/www.ultimatewb.com\/blog\/429\/wordpress-website-hacked-how-to-fix-it\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[306,304,307,305,303],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-general","tag-fix-backdoor","tag-fix-website","tag-remove-backdoor","tag-website-hacked","tag-wordpress-hacked"],"_links":{"self":[{"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/posts\/429"}],"collection":[{"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":12,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":9900,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions\/9900"}],"wp:attachment":[{"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ultimatewb.com\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}