Skip to content
Beginnersblog.org header & footer final logo
  • Articles
  • Blogging
    • blogging Tips
    • Social Media
      • Instagram
      • Pinterest
  • Make Money
  • AI Hub
  • Course & Certifications
  • Articles
  • Blogging
    • blogging Tips
    • Social Media
      • Instagram
      • Pinterest
  • Make Money
  • AI Hub
  • Course & Certifications

Beginner's Guide To Start A Blog With AI

  • Build a WordPress blog in minutes

WordPress Login Issue: 8 Solutions To Permanently Fix This Issue

  • shailesh shakya
  • October 7, 2017
WordPress Login Issue 8 Solutions To Permanently Fix This Issue
Affiliate Disclosure

In full transparency – some of the links on this page are affiliate links, if you use them to make a purchase I will earn a little commission at no additional cost to you. It helps me create valuable content for you and also helps me keep this blog up and running. (Your support will be appreciated!)

However, WordPress is a suitable blogging platform, but there are a lot of issues like WordPress login issue, admin login 404 error, plugins issue, etc. If you are a blogger, then you have mostly encountered the login issue. Many times people ask this same query “I Can’t login to WordPress dashboard.”

Fortunately, besides of login error, I never encountered any other issue. I am sure many of you have faced this same problem. If yes, then don’t worry, today I will show you why login issue arises and how to fix this problem.

It is tough to tell you the exact solution. But a few reasons are corresponding to your problem, and you need to select any of them which fits you.

So, let’s get started

There are mainly seven reasons that are responsible for this issue: –

  1. Unable to recognising your password (Maybe due to the wrong password)
  2. ‘yourdomain.com/WP-admin’ is not redirected to ‘yourdomain.com/wp-login.php’ page
  3. Cookies & cache issue
  4. Due to plugin failure
  5. Theme failure
  6. Corrupted ‘WP-login.php’ file
  7. Window Firewall
  8. Site URL redirecting
  9. Wp-admin

These are the most common reasons that may results in trouble in WP login. For fixing this error First look at the straightforward solutions. Enabling the cookies is the straightforward option first to check out. But if you don’t find the solution then check another option.

Ok, now let me tell you what you correctly do to fix this error.

Steps to follow to fix the WordPress login issue

  1. Clear your browser’s cache & cookies
  2. Send the request to reset the password by clicking ‘Lost your password?’
  3. Type ‘yourdomain.com/WP-login.php’ into google address bar.
  4. Check window firewall, because sometimes it blocks you from signing in to your WordPress dashboard.
  5. Deactivate all plugins
  6. Fix the theme failure
  7. Verify your ‘WP-login.php’ file
  8. Upload a new wp-login.php file
  9. Edit the user table from phpMyAdmin carefully

8 Solutions To Permanently Fix This WordPress login Issue



#1. Clear your browser’s cache & cookies

Cookies are the static files which are created by the website into your browser and cache helps them to load faster than usual. If you encounter login error then first clean your browser cache and enable the cookies and then recheck it.

If this works for you, then you have done.

A simple guide to clean browser’s cache & cookies.

#2. Send the request to reset the password

If the first option is unable to solve the issue, then try the second one. Just click on the ‘Lost your password?’. As you click on the hyperlink, you will be redirected to the WordPress lost password action page. Here you need to provide your preferable email address. After doing so, you will receive a link to your email inbox by which you can reset your password.

Now, again check your WP admin page whether it works.

Sometimes it does not work. In this case, you need to reset your password either by WordPress database or from function.php file.

#3. Type ‘Yourdomain.com/wp-login.php’ instead of ‘Yourdomain.com/wp-admin’

You find your login page by simply putting ‘yourdomain.com/wp-admin’ which is further redirected to ‘yourdomain.com/wp-login.php’ page. But sometimes it does not redirect to the require login page. In such case, replace ‘yourdomin.com/wp-admin’ with ‘yourdomain.com/wp-login.php’. However, this is not the permanent solution, but you can enter into your wp-admin page and make desired changes.

#4. Disable the window firewall

Many a time you would have noticed that you are unable to access an internet network. It is because firewall has blocked the system due to some network attacks like Trojan horse, worms or some other network issues. Similarly, when firewall detects any problem on your network, it will immediately block your request from WordPress login page.

So, disable the window firewall and try to login to your WordPress login page.

#5. Deactivate all the plugins

Many times I found the PHP errors due to installing a new plugin. But these errors easily be fixed by just deactivating all the plugins and activating all of them again.  If WordPress login-panel shows you a blank page or any other PHP errors, then you need to disable all the plugins.

There are three ways to deactivate all the plugins

  1. Admin panel
  2. By removing them from /wp-content/plugins
  3. From WordPress Database

Now, let’s talk about one by one.

  •  Deactivating plugins from admin panel

Unfortunately, at this time you can’t access your admin panel due to login errors. But if all clear, you can disable all of your plugins by bulk.

  • By removing them from /wp-content/plugins

It could be done either by FTP or by accessing panel. You can download ‘Filezila’ and connect your server to it or just open your cPanel and go to files and deactivate the plugins.

        Steps to remove plugins form cPanel

  • Login to your cPanel account. (You will have received username & password into your mail after purchasing hosting server.)

Cpanel username and password info

  • Click on file manager
  • Go to public.html file and click on the wp-content folder

Go to Flie manager and click on public.html folder

Go to public.html file and click on wp content

  • Rename the ‘wp-content/ plugins/’ folder and make the changes like this ‘wp-content/pluginsdisable/
  • All the plugins will be disabled immediately.

 

  • Deactivate all the plugins from the WordPress database

However, above method is right for disabling the plugins. But you could also deactivate plugins from here. Read more

#6. Fix the theme failure issue

Rename active theme folder with the help of FTP. After renaming, WordPress will revert to use the default theme

To find out the theme failure, you need to add some code written below.

<?php ini_set(‘display_errors’,’1′); ini_set(‘display_startup_errors’,’1′); error_reporting (E_ALL);include(‘index.php’); ?>

 

#7. Upload a new wp-login.php file

WordPress login issue may also be arises due to corrupted wp-login.php file. So, you need to upload a new login file.

But how you can upload a new wp-login.php file. For that, download the latest version of WordPress and then, download the WordPress on your computer in zip format. Now find out the wp-login.php file.

Yellow highlight colour shows the new login file. You need to upload this file into your “public_html” folder. Once uploaded, you can check wp-login page whether it is working or not.

If all else fails, you can also edit this login.php file and make changes as follow: –

Replace following code:

$user_login = $user_data[“user_login”]; 

With this code given below

$user_login = $user_data->user_login; 

 #8. Site URL redirecting  

It happened to me when I migrated my site from WordPress to another WordPress site. During migration, the location of core WordPress site become changes which result in a login error.In WordPress > general setting, you have seen two types of URL one is Site address URL and the second one is WordPress address URL. “Site address URL” is the URL that people used to search for your site. “WordPress address URL” is the address where all of your WordPress files install. That means, both URL should be exactly. There is a straightforward trick that you can use to update URLs. For this, you need to go to wp-config.php file and add following code. Replace the example.com with your site URL. 

define(‘WP_HOME’,’http://example.com’);

define(‘WP_SITEURL’,’http://example.com’);

 There are also some other solutions that you may prefer.  How to change the site URL   

Some other additional reasons can generate the WordPress login issue. Apply these quick tips to overcome this issue.

  1. Try another browser to log in.

 

  1. Delete the .htaccess file form your root directory: – This file is used to set the URL redirections, instruct the bots and some other security purpose. If you find 404 errors or URL not found, then you can apply this solution. Sometimes there is a corrupted .htaccess file which may be responsible for this error. In this case, either you can delete the existing .htaccess file or re-upload the same file after downloading it into your computer. (Note: – Before removing this file keep a recovery of this file). Now, try to log in. If you succeed, then go inside setting > permalinks and click on save. It will generate a new .htaccess file.

 

  1. Put the same Site address URL and WordPress URL. (example: – Site address URL – http://www.example.com and WordPress address URL – http://www.example.com)

 

Conclusion

WordPress login error commonly occurs due to ridiculous nonsense like Site URL, cache and cookies issue, corrupted wp-login.php file. I have covered eight methods to fix this error.

I am sure; if you do the same, you make this issue fixed permanently.

If you have encountered a different issue that I have not mentioned here, then you can share that in the comment section.

If you like this article, then you may also want to share it on social media sites.

 

 

Save

More AI Writing Tools (Editor's Choice)

Featured

frase-io logo

Frase.io

With Frase.io, you can produce long-form content within an hour. It comes with all essential tools and features that can help you with researching, briefing/outlining, writing, and optimising. Best for bloggers, Freelancers, editors, and Writers.

Get Frase.io »

Read Review »

80+ AI Templates

writesonic logo

Writesonic

Writesonic claims to be the world’s most powerful AI content generator tool which can write 1500 words in 15 seconds. From students to freelancers to bloggers to marketers, anyone can create high quality content with Writesonic.

Get Writesonic »

Read Review »

Beginner friendly

rytr.me logo

Rytr.me

Rytr is powered by state-of-the-art language AI which is capable of creating high-end unique content in minutes. It collects content from around the web, synthesis it with its own knowledge, and creates unique content for the client.

Get Rytr.me »

Find Related Content

Picture of Shailesh Shakya
Shailesh Shakya

I'm a Professional blogger, Pinterest Influencer, and Affiliate Marketer. I've been blogging since 2017 and helping over 20,000 Readers with blogging, make money online and other similar kinds of stuff. Find me on Pinterest, LinkedIn and Twitter!

1 thought on “WordPress Login Issue: 8 Solutions To Permanently Fix This Issue”

  1. Pingback: 7 Ways To Solve 'Error Establishing A Database Connection' In WordPress, 2nd is Very Important | World of WordPress

Leave a Comment Cancel Reply

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

Blogging Tools

  • Elementor
  • Hostgator
  • Canva
  • Tailwind
  • Aweber

SEO resources

  • SEO Writing
  • YouTube SEO
  • SEO 2021
  • Business SEO

get started

  • Start A Blog
  • Tools & Resources
  • Blogging platforms
  • Pinterest For Bloggers

About

  • About me
  • Blog
  • Privacy policy
  • Disclaimer
  • Terms of use

BEGINNERS BLOG | © 2025 All rights reserved

Twitter Pinterest Linkedin

Hosted by Hostinger | Designed with Astra & Elementor

This website uses cookies to improve your experience. We'll assume you're ok with this.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
SAVE & ACCEPT