{"id":383,"date":"2016-04-18T12:23:17","date_gmt":"2016-04-18T12:23:17","guid":{"rendered":"http:\/\/www.wordprax.com\/blog\/?p=383"},"modified":"2018-03-14T05:55:32","modified_gmt":"2018-03-14T05:55:32","slug":"how-to-regain-access-to-your-hacked-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.wordprax.com\/blog\/how-to-regain-access-to-your-hacked-wordpress-site\/","title":{"rendered":"How to Regain Access to Your Hacked WordPress Site?"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/How-to-Regain-Access-to-Your-Hacked-WordPress-Site.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-384\" title=\"How to Regain Access to Your Hacked WordPress Site\" src=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/How-to-Regain-Access-to-Your-Hacked-WordPress-Site.jpg\" alt=\"\" width=\"800\" height=\"400\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/How-to-Regain-Access-to-Your-Hacked-WordPress-Site.jpg 800w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/How-to-Regain-Access-to-Your-Hacked-WordPress-Site-300x150.jpg 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/How-to-Regain-Access-to-Your-Hacked-WordPress-Site-500x250.jpg 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">No matter how much precautions you might be taking in protecting your WordPress site from hackers. You must always stay prepared to face the worst case scenario. In short, you must be ready with a solution to deal with the situation when your site is hacked. But, what could be more problematic is inability to log into your website&#8217;s admin panel despite trying numerous username and password combinations. Thankfully, there is a way that could help you deal with such an issue. You might not know but your site&#8217;s database provides a backdoor that can render you access over the backend interface.<\/p>\n<p>As long as you&#8217;re able to access your database, you still can log back into the admin interface by making a few changes to your account. Through this article, we&#8217;ll be demonstrating the steps you need to follow for changing the admin user details of your website database.<\/p>\n<p><strong>But Before You Start<\/strong><\/p>\n<p>It is imperative that you&#8217;re creating a backup of your website, and most importantly, your database. Here&#8217;s a great article you can refer to for learning more about how you can backup your WordPress site: Backup and restore WordPress database with cpanel and phpMyAdmin. After all, your database is the last resort that could help you find a way to regain access over your hacked website. But remember, backing up your database using backup tools can be tricky when you don&#8217;t have access of your site. If that&#8217;s the case, then you could use phpMyAdmin to backup the database. For this purpose, you just need to abide by the following steps:<\/p>\n<p>Step 1 \u2013 Open up your cPanel, and from there navigate to Databases \u2192 phpMyAdmin.<\/p>\n<p><a href=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-386\" title=\"1\" src=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/1.png\" alt=\"\" width=\"650\" height=\"177\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/1.png 650w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/1-300x81.png 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/1-500x136.png 500w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Step 2 \u2013 Next, choose your website or network\u2019s database provided on the left-side of the screen. And then, press the \u201cExport\u201d tab positioned on the top of the page.<\/p>\n<p>Step 3 \u2013 Finally, hit the \u201cGo\u201d button to choose any particular location on your system where you would like to save your database backup.<\/p>\n<p><a href=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-387\" title=\"2\" src=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/2.png\" alt=\"\" width=\"490\" height=\"312\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/2.png 490w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/2-300x191.png 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/2-471x300.png 471w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a><\/p>\n<p><strong>How to Update Your Website Database ?<\/strong><\/p>\n<p>So, now that you saved the backup of your website database, let&#8217;s proceed and talk about how you can change the account details from the database. To do so, follow these steps:<\/p>\n<p>Step 1 \u2013 Again log into your phpMyAdmin via cPanel.<\/p>\n<p>Step 2 \u2013 Move to Databases \u2192 phpMyAdmin from cPanel, and you will find entry of your website&#8217;s database on the left side. Simply, click on the database entry. And then,\u00a0 search for your admin username in the \u201cwp_users\u201d table list.<\/p>\n<p style=\"text-align: justify;\"><em>As soon as you find the username, hit the \u201cEdit\u201d button:<\/em><\/p>\n<p><a href=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-388\" title=\"3\" src=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/3.png\" alt=\"\" width=\"735\" height=\"300\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/3.png 735w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/3-300x122.png 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/3-500x204.png 500w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><br \/>\nStep 3 \u2013 And at last, make changes to the email address provided in your account&#8217;s \u201cuser_email\u201d field. Be sure to change the address to something that&#8217;s valid and easy to remember. After making the required changes, press the \u201cGo\u201d button to save all of your changes you have made.<\/p>\n<p style=\"text-align: justify;\"><strong>Understanding How You Can Recover Your Site<\/strong><\/p>\n<p>After adding new email address within your account in the database, you&#8217;ll be able to win back access of your website&#8217;s backend using these steps:<\/p>\n<p>1. Open up your site&#8217;s login page (i.e. http:\/\/www.yoursite.com\/wp-admin)<\/p>\n<p>2. Hit the link labeled as \u201cLost your password?\u201d<\/p>\n<p><a href=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-389\" title=\"4\" src=\"http:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/4.jpg\" alt=\"\" width=\"411\" height=\"426\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/4.jpg 411w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2016\/04\/4-289x300.jpg 289w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/a><br \/>\n3. Clicking on the link as shown in the image above will open a window, wherein you need to fill out the new email address you&#8217;ve just created in your database.<\/p>\n<p>4. When you will open your email, you&#8217;ll find a link that allows choosing a new password. Once you have chosen a new password, use it to log into your website and review it.<br \/>\nConclusion<\/p>\n<p>Hopefully, this post will assist you in regaining access over your hacked site&#8217;s backend without much hassle. But, in case you still are finding it difficult to log into the admin panel, it makes sense to take help of an expert WordPress developer.<\/p>\n","protected":false},"excerpt":{"rendered":"No matter how much precautions you might be taking in protecting your WordPress site from hackers. You must always stay prepared to face the worst case scenario. In short, you must be ready with a solution to deal with the","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[33,35,34,32,190,19],"class_list":["post-383","post","type-post","status-publish","format-standard","hentry","category-wordpress-development","tag-cpanel","tag-database-backup","tag-php","tag-website","tag-wordpress","tag-wordpress-security"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":8,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":1133,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/383\/revisions\/1133"}],"wp:attachment":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}