Return to site

How To Fix A Locked Out WordPress Admin Screen Issue (5 Solutions Explained) 

broken image

Realizing that you are locked out of your WordPress admin screen could push you in a quite stressed situation. You are not able to make any changes to your site that could have resulted in more intuitive design and better user experience. So today we thought to enlighten you about how to resolve the locked WordPress Admin Screen issue in five easy ways.

But before we come to that, I would like to pass certain information to you about our web design company in Los Angeles - SFWP Experts. Being a prominent agency based out of California, we are capable of resolving most problems your site might be going through. Let’s say you are experiencing lesser traffic, low sales or even poor customer relationships, we have solutions for each of them. All you need to get rid of your problems is to contact us and share what your site is facing issue with.

With that covered, it’s time to delve into the title of this content and know what to do when you are locked out of your WordPress Admin Page.

So, without any further ado, let’s get started.

5 Solutions When You Can’t Access WordPress Admin Section 

1. Try Changing Your Password Using phpMyAdmin

Most of the time people are locked out of WordPress admin page just because of the additional tools they deploy on their site. For example, you could get caught in such a situation if you have installed a plugin that allows only a limited number of login attempts. Let’s say you're trying to login to your WordPress admin account but unfortunately you forgot its username or password. Now if you keep making efforts to enter your admin area with a wrong username or password you will be locked out of the WordPress admin section after a few times.

So, the question is what to proceed with if stuck in such a situation? Of course, you can try resetting your password from the admin login screen itself.

broken image

In case it doesn’t work out due to certain reasons like not having access to linked email id or not receiving an email for password reset, you always have a choice to reset your password using phpMyAdmin.

Here are the steps you need to take for resetting your password through phpMyAdmin:

Step 1: Log into your web host and look for your site on the Sites page. Once you have found that, click on it to go to the Overview screen and then look for the link that will take you to your database.

broken image

Step 2: Since we are performing this task using phpMyAdmin, first you need to start it off. Once you have done that you have to search for your database on the left sidebar. To do that, you need to expand the labels first by hitting the Plus (+) symbol there. Just when you do that, you will be able to see all the tables that your WordPress database includes. Here you have to find wp-users table or anything similar if you have edited your database label.

broken image

Step 3: After you have opened wp-users table, you will have to click on the Edit button present near your username.

broken image

Step 4: After you have done that you need to do a couple of things such as edit the information in the user_pass field with your new password and then select MD5 from the function dropdown.

broken image

Step 5: Now the only thing you need to do is save your changes by clicking on the Go button and then trying logging into your site again. You should be able to enter your WordPress admin section and manage your site using the available options.

In case you don’t like to touch your WordPress settings yourself and hire any professional for the job, get into conversation with our Wordpress developer experts team. We will help you regain the access to your WordPress admin screen and perform internal changes that you want.

2. Use An FTP Client To Resolve The “WSoD” issue

Here the WSoD represents “White Screen of Death” that’s usually a blank white screen with no message about the error. This could make it hard for you to identify the issue and fix it properly. Still there are ways to get rid of this problem and we will let you know about it.

To resolve the WSoD problem, you need to use a FTP client (short for File Transfer Protocol) and then do the following:

  • Check whether or not your themes and plugins are functioning properly
  • Increase your PHP memory limit
  • Activate Debug mode to figure out whether or not it displays an error when logging into your site.

If doing all the mentioned above doesn't get you a solution, you can talk to your web host or the technicians of our Los Angeles web design company to fix the issue. Once we receive your request about the problem you are experiencing, it’s our duty to squash the bug at earliest.

3. Check The Information Contained In Your Database

In the pursuit to fix the locked out WordPress Admin Screen issue, the third thing and the most important thing you need to do is check if any error is persisting in establishing a secure database connection. If your findings shows up an error, any one of the following things may have occurred:

  • The files contained in your database may have corrupted
  • Your site's server may have run into issues.
  • The wp-config file might not have the correct database information

So the first thing you need to do here is to check whether or not your database details are correct by going to wp-config file. Again, to do that you will need to take a FTP tool in use.

Once you are inside your server, open the file in your text editor and verify the following lines at the top of your screen:

broken image

Technically, your hosting account should have it on the main page and then you need to make sure that they are absolutely correct. If it isn’t the same as shown in the picture above, you will have to correct it somehow. For help, you can reach out to your web host and inform them about the problem you just encountered. In addition to that, also tell them what you did so far to resolve it so that they can have a good idea of the situation.

For some or other reasons, you are not able to gain access to your WordPress admin area, remember we are available to listen to your website’s problem. It’s not just the WordPress Admin Screen issue we fix but as a prominent Wordpress website design agency we also deal with every single problem WordPress websites show up.

4. Retrieve Your Admin Rights 

At some point of time you may get stuck in a situation where you would be able to log into your site but can’t use the admin functions. In such a case, any of the two things may have occurred:

  • Your admin account would have been deleted from the records
  • The site owner would have taken back your admin rights.

So, to resolve this issue all you need to do is create a new user profile. For that purpose, you will have to use phpMyAdmin once again. Look for the wp_users table among all the labels and then go to Insert tab once inside.

broken image

Here you have to fill in a large number of fields like ID, user_login, user_pass and the rest.

Have a look below:

ID: Enter any number of your choice and note it down for future reference.

user_login: Type in your username in the box.

user_pass: Type a password that you like, and then open the drop-down menu of the Function column to select MD5.

user_nicename: Here you have to enter a nickname that sounds good because other people will also see it.

user_email: Simply enter the email address you have.

user_registered: Feed today’s date.

user_status: Keep it 0 (zero).

display_name: You can have your nickname here as well.

Once you are done, save your changes and then move to wp_usermeta table. Here you’ll have to fill in following information in the Insert tab:

unmeta_id: It gets autogenerated, so don’t type anything here.

user_id: Fill in the same ID you have inserted in the above step.

meta_key: Simply type “wp_capabilities”.

meta_value: Put a:1:{s:13:"administrator";s:1:"1";} in the box.

After you have finished this, you’ll need to insert following information into a new row:

unmeta_id: Again don’t type anything here.

user_id: Put exactly the same ID you entered in the last two steps.

meta_key: Type “wp_user_level” here.

meta_value: This time enter the value as “10”.

Once all things are done, try logging in with new credentials.

5. Find Out If There Is Any PHP Error And Fix It

Sometimes website administrators also face problems with the WordPress Admin page accessibility due to silly things. The point I’m trying to make here is that you may find yourself in a locked out situation out of your WordPress Admin Screen if you have made changes to some files sometime ago. To this, you can say an unintended problem creation that often most people do. Let me tell you that the problem can be as silly as missing a semicolon. So, it’s better to find out the problem and fix it ASAP. Note that you will need to use an FTP application again for this purpose.

Conclusion

It doesn’t matter what pushes you into a problematic situation. If you are locked out of the WordPress admin screen, you will definitely feel frustrated. Fortunately, there are more than one solutions in the market to fix this issue, so you should not be stressed about the same anyway. However, even after trying hard you are not able to regain access to your WordPress admin section, we recommend having a word with your web host about the same. You should soon find a solution and again exercise your admin rights. We hope you like the solutions we outlined above and if you like to read more blogs about WordPress, remember to visit our site time and again. 

Do you have any questions about fixing the locked out WordPress Admin Screen issue? We suggest asking them using the comments section laid below. Apart from that if you feel the need to hire a long term professional developer to maintain and run your website properly, simply give a call to the representative of our Los Angeles web design company - SFWPExperts. We will thoroughly understand your expectations and then start working on your website maintenance. What’s more, we offer a whole host of website-focused services including WordPress web design and development, landing page design and development, content writing and marketing, search engine optimization, and social media promotion.

 Read More Articles:

Contact Details:

213-277-9177

la@sfwpexperts.com

Visit Reference Profile Websites: