6 Common WordPress Login Issues and Their Solutions 2018 | Technology Duniya

6 Common WordPress Login Issues and Their Solutions 2018

While WordPress is an incredibly powerful platform, it does come with its share of occasional frustrations. One potential source of grievance amongst WordPress users is the inability to log into the WordPress admin area. There are many reasons why WordPress login issues might arise, some more common than others.
This article will highlight some of the most commonly experienced login issues, explain why they might occur, and offer appropriate solutions.

1. Lost or Forgotten Password
This is an obvious one, of course, but nonetheless an important problem. If you change your password regularly to help with site security, it’s very easy to forget or lose track of your current password. While WordPress has a built-in feature to help you reset your password, there are a number of factors that can derail that process. As a result, there are actually quite a few different potential solutions that you may have to run through.

Solution:

If you’ve lost or forgotten your password, first try using the built-in recovery feature. Click on Lost your password? on the login screen and you will be prompted to enter your email address. WordPress will send you a link via email which you can use to create a new password.
If for some reason, you can’t use this method, there are two other tricks you can try.
First, if you’ve used multiple browsers or devices to log into WordPress, check to see if any of those browsers or devices are still logged in. Then access the admin panel and change your password.
If that doesn’t work, your next best option is to update your password directly in the WordPress database. If your site is hosted on a Linux server, you will usually have access to phpMyAdmin. However, before you edit your WordPress database, create a complete backup. Then, proceed on to the following steps:
  • Launch phpMyAdmin, locate your site’s database, and open up the wp_userstable.
  • In the list of users, locate your username in the user_login column and selectEdit next to that row.
  • Find the user_pass field and type a new plain text password into the Value field, replacing the existing symbols and characters.
  • From the drop-down menu, select MD5.
  • Scroll to the bottom of the page and click Go.
Setting user_pass with phpMyAdmin
At this point, you should be able to login using the new password you just assigned to your WordPress username with phpMyAdmin. However, if you’re still locked out and unable to recover your password, there are several additional options you can try.

2. Cache and Cookies

Cookies are small files located in browser directories that store information about a user’s interaction with specific websites. WordPress requires the use of cookies during the login process. If cookies are not enabled, WordPress login can’t occur.
The browser cache refers to the temporary files stored on your web browser when you access a web page. If your cache is not updating properly you may be viewing older versions of some of the files that support WordPress.

Solution:

Luckily, cache and cookie issues are usually easily fixed. First, check that cookies are enabled and then clear both your browser cache and cookies.

3. Plugin Interference

It’s possible for a plugin to interfere with the login process. A plugin may not have been updated properly, or there could be a conflict between two or more of your plugins.

Solution:

The first thing you need to do is confirm that the issue is being caused by a plugin. You can do this by deactivating all of your plugins or by temporarily renaming the plugins folder.
If you have access to your admin panel, simply go to the Plugins menu and deactivate all plugins. Make sure to back up your site first. Select all of the plugins, go to Bulk Actionsand select Deactivate.
If you don’t have access to the admin panel you can rename the plugins folder. Use a File Transfer Protocol (FTP) client, locate the wp-content/plugins folder, and rename it temporarily.
Folder list within the FTP server showing the renamed plugins folder
WordPress won’t recognize the folder and will deactivate all plugins.
Once you have deactivated all plugins, try logging in. If you’re now able to log in, you’ve confirmed that a plugin is causing the issue. If so, you’ll need to troubleshoot to discover which plugin is causing the issue. You can take a look at the “Check Your Plugins” section in this blog post for more detailed instructions.

4. Theme Issues

Theme issues can cause login problems, especially if your theme includes a custom login page. This issue is most likely to rear its head when a problematic theme update is installed, or when the WordPress core is updated producing a theme incompatibility.

Solution:

Determine if a theme issue is causing your login woes by reverting back to the default theme. To do this, temporarily rename your active theme’s directory so that WordPress doesn’t recognize it.
You can do this by accessing the wp-content/themes folder using an FTP client, finding the active theme’s folder, and renaming it. This will force WordPress to revert to the default theme.
Now, try logging in to confirm that the theme is the issue.
5. Corrupted Login File
If the WordPress login file, wp-login.php, is corrupted, deleted, or misplaced, you won’t be able to access the login screen at all.

Solution:

To check if this is the problem (and to simultaneously resolve it) you will need to replace the file with a new one.
  • Backup WordPress before deleting your login file.
  • Locate your wp-login.php file with an FTP client and delete it. You’ll find it in the directory where you’ve installed WordPress.
  • Next, download the latest version of WordPress and locate the wp-login.php file in the new download.
  • Copy this file in place of your deleted file.
  • Open the new login file and search for “redefining user_login.”
  • Just below a php comment beginning with that phrase find and replace code as shown in the snippet below.
// Delete this line
$user_login $user_data["user_login"];
// Replace it with this line
$user_login $user_data->user_login;
If the login file was the issue, you should now be good to go.

6. Redirected WordPress or Site URL

The WordPress address URL identifies the location where WordPress is installed while the site address URL identifies where your website should resolve. If either is wrong, it can cause all sorts of issues, including the inability to access the admin area to correct the mistake.
This can happen if you have recently migrated WordPress, altered the location of the WordPress core by moving WordPress to a subdirectory, or it can simply be due to an errant keystroke while working with your WordPress database.

Solution:

There are lots of potential solutions when it comes to fixing the WordPress address and site address URLs. However, there is a simple (albeit temporary) trick to enable you to confirm that you do in fact have a URL issue on your hands.
After backing up your site, access the wp-config.php file with an FTP client and add the following code:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Making sure to use the WordPress address URL for WP_HOME and the site address URL for WP_SITEURL. By default, both addresses will be the same. However, if you’ve given WordPress it’s own directory, the WordPress address URL will include the directory in which you’ve installed WordPress.
Save the updated wp-config.php file and upload the modified file to the server using your FTP client. If you can now successfully log in, then you’ve identified the problem.
However, this is a temporary fix so you should delete the added code and update theWP_HOME and WP_SITEURL values in your site’s database using another method to correct the issue permanently.

Conclusion

Having WordPress login issues can be the source of much frustration and result in countless hours of troubleshooting. As you can see, there are lots of potential causes of login problems so it can be difficult to know where to start.
Let’s quickly recap the solutions to run through if you’re having issues:
  1. Change your password.
  2. Clear your browser cache and cookies.
  3. Deactivate your plugins.
  4. Revert back to the default theme.
  5. Replace your login file.
  6. Define the WordPress and site URLs.
How many of these issues have you come across while working on your WordPress site(s)? Let us know in the comments section and don’t forget to subscribe so you can follow the conversation!

FOR MORE UPDATES BROADCAST SERVICE , Type "S2Y YOURNAME" AND SEND US ON 
Whatsapp BroadCast      +91-9691540970
Social: Facebook | Twitter | Instagram