Can’t Login To WordPress Dashboard – 6 Steps To Regain Access To WP Admin

Can’t Login To WordPress Dashboard – 6 Steps To Regain Access To WP Admin

The WordPress admin area works in an invisible path from the other parts of the system – through a login system (“/wp-admin”), you’re ready to gain access to the backend dashboard, through which you’re ready to add posts, and so forth.

While there are some possible reasons for the issue, they’re all relatively easy to fix.

The most vital point to make is that your system may have been infected with malware. I’ve found this issue before – hackers inject code into your WordPress system with the expectation that it will distribute malicious referral traffic for them.

If you have any malware issue with WordPress, you’ll have to get a professional to take a look at it. When it occurred, our sites continued getting attacked, and we had to move has in the end.

Malware won’t be high on the list – the possible issue you have is either a plugin is preventing your login, or some other problem has prevented WordPress from authenticating you.


As mentioned, there are a few common causes which regularly lead the admin area not to work:

  • Bad update stopped WordPress from updating its core files
  • Specific plugins are avoiding the login from occurring
  • You’ve set your application to https://and are continually experiencing a redirect loop
  • Your system may have had its files changed on the server
  • WordPress may have turned out to be infected with malware

The most critical thing to note is that WordPress is worked with PHP.

PHP is a scripting language which gives simple “dynamic” functionality to Internet-centric applications, allowing for any semblance of dynamic pages, login/logoff functionality and the sky is the limit from there.

While PHP has existed for a long time and is sustained by the dominant part of hosting providers; there are a few instances where its applications may not run accurately.

It’s conceivable the case that your WordPress installation is experiencing this issue, even though there are numerous other issues (hosting/malware/coding issues and so forth.) which be causing it, too.

To fix the issue, there are 6 “steps” you can take…


1. Clear Browser Cache

Clear Browser Cache

The initial step is to clear your browser’s cache.

The “cache” of your browser stores websites, login information, and so on.

It exists to enable your browser to “save” the relevant files which will allow it to load files/websites speedier. You’d be shocked at how significant it.

The reality of the situation can prove that the admin panel of WordPress hasn’t had its cache updated. While a relatively uncommon issue still can cause the login issue to happen:


  • Click on the top “vertical dots” menu at the top right of the Chrome Window
  • Starting from the drop, select “Settings”
  • Click on “Advanced” (you’ll need to scroll down)
  • In the “Privacy and Security” section, select “Clear Browsing Data”
  • Check each box and make sure “All Time” is chosen
  • Click “Clear Data” (blue box)
  • Give it a chance to clean the cache


  • Click on the “Horizontal Lines” menu at the top right of the screen
  • Select “Options”
  • Select “Privacy” (left sidebar)
  • Click “Clear Your Recent History”
  • Select all and guarantee that “Everything” is chosen
  • Click “Clear At this point”
  • Give it a chance to clean the cache

Microsoft Edge

  • Click on the “dots” menu at the top right of the Window
  • Starting from the drop, select “Settings”
  • Scroll down to “Clear Browsing Data”
  • Click the “Choose what to clear” button
  • Select every accessible option and click “Clear”
  • Give it a chance to clean the cache

This won’t explain the error but ought to guarantee that your browsers are not causing any further issues.

2. Gain Access To CPanel

Gain Access To CPanel

The subsequent step is to gain access to CPanel (or the comparable control panel for your hosting).

Each WordPress must be hosted someplace; the manner by which you can deal with the different resources/server is reliant on which kind of control panel your host might run.

The point is that you require access to the files of your system.

With CPanel, this is done with “File Manager”; it might differ depending on the hosting you’re using…

  • Log into your hosting provider
  • Browse to the control panel and search for any way you can access the “File Manager” of your system

If you can’t access the file manager, you have to discuss with your host – or – gain access via FTP.

If you need to utilize FTP, you’ll have to do the following:

  • Download an FTP application (FileZilla was the one that mostly used)
  • Once downloaded, run the application
  • Into the “IP”/”Address” box, type “” (or whatever the FTP address is – your host will have the capacity to inform you regarding it)
  • Into the “username” and “password” boxes, you’ll have to type your FTP user details (again, your host can help if this isn’t something you know)

Once you gain access to the files of your system, you’ll have the capacity to start than working on a fix.

3. Disable Plugins (Rename Folder)

 Disable Plugins (Rename Folder)

Once you’ve gained access to the files, you then need to rename the “plugins” folder.

Renaming this folder enables you to for all time disable any of the plugins that WordPress might run.

This may cause brief issues – but should dismiss this potential issue from the equation:

  • Click into the “WordPress” installation folder (you can judge by the nearness of “wp-includes” and so on inside it)
  • When you find the WordPress folder, browse to “wp-content”
  • Inside this folder, you’ll find the “plugins” folder
  • Rename the folder to something like “plugins_bk”
  • Return to your web browser and endeavor to log into your WordPress installation again

If it works, you should re-download each plugin and have a go at enabling every one until the point when you find the reason for the issue.

If it doesn’t work, you need to try fixing a portion of the core settings of the WordPress system.

4. Change Admin Password In WP Database

Change Admin Password In WP Database

The WordPress system – as suggested – is based on PHP.

The excellence of the system lies in the way it utilizes a database to store the different information/content for your site.

To this end, if you are having issues login in, you may need to change a portion of the settings inside the database.

Any genuine host ought to give access to database management portal. You can use it with the following:

  • Click into the “control panel” for your hosting
  • Look around for the “database” section (this fluctuates from host to host)
  • In most hosting providers, you’ll have “PHPMyAdmin” – click this (it enables you to deal with your WordPress database)
  • From the database which appears, select the one for your WordPress installation
  • Browse to the “users” table
  • Select your admin account
  • In the “password” field, type another password
  • In the “type” field, select MD5
  • Click “OK” to save the section
  • Have a go at logging once again into your WP installation

As mentioned, this isn’t a thorough list (each host handles this differently).

If you experience difficulty following the above steps, you’ll be best talking to your hosting provider or a company ready to offer support.

5. Make Sure You’re Not In An HTTPS Redirect Loop

HTTPS Redirect Loop

One of the leading reasons for the admin area “lockout” issue in WordPress is what’s known as an HTTPS redirect loop.”

This is fundamentally where you will set your site to utilize HTTPS, and it will have another redirect facility stopping you from accessing the admin area.

To further this, the method in which that cookies work is specific to the domain you’re accessing. HTTP and HTTPS are considered entirely different elements, and in this way logging into one variation does not allow you to access the other.

The fix for this is as follows:

  • In the WordPress Database (as mentioned in Step 4), click on the “wp_options” table
  • Search for the “siteurl” option
  • Make sure it’s “HTTP://… “
  • Search for some other references to the site’s domain/protocol
  • Guarantee the “HTTP://… ” reference with any that you find
  • Clear your browser’s cache (stage 1)
  • Try logging into your system again

If this doesn’t work, it might be worth replacing your WordPress core files.

6. Replace WordPress Core Files

Replace WordPress Core Files

The subsequent step is to replace the WordPress core files in your system.

To do this, we first need to guarantee the “config” file for (“wp-config.php”) is kept secure:

  • Access the files for WordPress again (from Step 2)
  • Browse to your WordPress installation’s base folder
  • Search for “wp-config.php”
  • Download it to your PC
  • In the wake of doing this, click on your favored search engine + search for “WordPress download”
  • You should find the “” website
  • Click the “download” button (blue)
  • Once saved, you’ll have to unzip the files into a folder on your system
  • Click back onto your hosting file manager
  • Select the “WordPress” folder and rename it (something like “wp_bk” or similar)
  • From here, make another “WordPress” folder (with the same name as the original)
  • Into this folder, upload all the new WordPress files you downloaded from WP’s site
  • Copy wp-config.php into the base folder (it ought to overwrite what’s already there)
  • Take a stab at accessing the site

If there are any issues with this, you’ll have the capacity to rename your old WP directory back to its original name.

If despite everything you can’t resolve the problem, you should get some more specific support. There are a few different ways you can do this – either with any semblance of online communities, (for example, Microsoft Answers or SuperUser) or from a committed source of support (your hosting account and so forth.). Fiverr is also a suitable place to find people who’ll help settle WordPress problems (but these folks will require paying).

The point is that WordPress is generally a significant adaptable platform, and the problem of not being ready to access the admin area for your application is indeed not as one of a kind as you may imagine. To this end, it will do your site equity to – maybe – get a “checkup” from a WordPress company, will’s identity ready to give you an once-over of what may work well, and what may not. They ought to likewise have the capacity to address the flawed admin area.

Sudipta Das

Leave a Reply

Your email address will not be published. Required fields are marked *