OMG I deleted my WP site main user!

You need to get acquainted with phpmyadmin. You will have less heart attacks and more ways to solve your problems. Also there is pretty good backup plugins for Wordpress. Make scheduled backups in dropbox or onedrive or ... and sleep well))
 
Use the plugin WpSecurity - it's sending me database every 1 day via email ;)
 
1. Restore a backup ( if you have one );
2. Add a new user in the SQL: MyPHPAdmin -> Select your DB -> Users -> Add new user. For the password ( because it is in the SQL style ), I suggest to install a new blank WordPress page on a subdomain ( different from your website source ), insert a simple password ( ex "123678" ) and save it. Next, go to MyPHPAdmin -> Select your DB -> Users -> and copy the password ( the password of the new wp user will be something like AB39XM2SK38FDS2Sm21OpX ... ). Next, go back to your first database ( where you have the issue ), add new user and in the field of password paste AB39XM2SK38FDS2Sm21OpX ( the 123678 password ). Click Save and try to login.

Good Luck
 
Hey guys, im in such a panic.... I just deleted my main user and the site is gone, what can i do to get it back?
am sure that you did inexact de site so you were deleted from the site .. that all i will be happy to assist you ..?
 
am sure that you did inexact de site so you were deleted from the site .. that all i will be happy to assist you ..?
I appreciate the help from you and everyone on here, I ended up paying the $25 like one person said would happen but they are fixing it!
 
Believe it or not hostgator can’t seem to restore the site, they had to escalate it to tier 2 support... if anyone here knows how to get it fixed could they? I’ll pay for the help
 
Believe it or not hostgator can’t seem to restore the site, they had to escalate it to tier 2 support...
If the backup is corrupted or nonexistent, the next option would be pulling the content from Archive.org.

Also, switch to a new host. Most hosting companies have multiple backups and free restores, which would have fixed your issue in a matter of minutes.
 
RESTORE THAT JAUNT. Seriously, contact your web host provider asap. They should automatically back it up for you but they never guarantee it on their part.
 
It happen to me too. I came here like you with panic. Then restored the site from cpanel
 
Lesson learnt! There are so many free WP backup plugins, automated, that only take a few minutes to set up. I would do it now....
 
But I thought I had a backup that’s the problem
 
Hey guys, im in such a panic.... I just deleted my main user and the site is gone, what can i do to get it back?
If it's only the user what got deleted you can insert a new one to the database with the id "1" and the correct roles.
 
But I thought I had a backup that’s the problem

The popular plugins all have an email option to alert you if a backup failed, or to alert you of a sucessful backup. Personally I have set to only alert me if failed and then can go in and check manually. I have it backup to dropbox and automatically keep several before they drop off so can always go back. You can even set one for daily and one weekly or monthly to be absolutely sure you have a good known backup should something happen that you arn't aware of... Short answer is it only takes minutes to setup and you never have to panic again
 
anyone wanna give it a try and restore this store for me?
 
anyone wanna give it a try and restore this store for me?

I think this post https://www.blackhatworld.com/seo/omg-i-deleted-my-wp-site-main-user.1104564/page-2#post-11906252 from Ricky.Montana
already gave you some hint.

You can do yourself with some guidance.
People already had such issues, and it was solved

Check these 2 video Tutorials:
How to Add a WordPress User From phpmyadmin
How to Create an Admin Account in WordPress via MySQL

I guess you have phpmyadmin access of your site, so try yourself, may be you would surprise yourself :)

Regards
 
Back
Top