Wordpress Adminstrator User Deleted

Q. I accidently deleted the admistrator user from my WordPress Dashboard and now no content is showing on my pages. What do I do now?

A. Okay, so the first thing to do is to see if you can log into your Dashboard using another administrator username and password (if you had one). If not, you will have to access your users through your Control Panel. Log into your Control Panel and head to your PHPMyadmin to find your database of users. You can create a new user here.

Then log into your dashboard using these details or another user that you already had. You now need to go to your Pages > All Pages and find your pages in the Trash. You can reactivate them back and then make sure they are ‘Published’ and not ‘Draft’.

You may also have to upload images again. If you have a backup, you can do this through FTP into the relevant uploads folder. If not, you will have to load them via Media, but then go through and update the links throughout the site.

In summary, please ensure you don’t delete the administrator from the site.