MASIGNCLEAN101

Wordpress Can't Access Login Page When I Change Site Url Updated FREE

Wordpress Can't Access Login Page When I Change Site Url

Themeisle content is gratuitous. When you purchase through referral links on our site, we earn a committee. Learn More

Can't access wp-admin? Being locked out of your WordPress dashboard can exist incredibly frustrating – you definitely don't demand us to tell you that.

However, while y'all might not be feeling great right now, there's good news. In most cases, it's just a temporary outcome and, one time you diagnose the underlying problem, you'll be back into your WordPress dashboard in no time, with no loss to your site's content.

In this mail service, we're going to help you figure out why you can't access wp-admin and how to fix the problem. To do this, we'll list a bunch of potential issues along with solutions to each problem.

By the end, you lot should exist able to go your site working and admission the wp-admin again.

If you already have at least an idea of what's going wrong, yous tin can click the listing below to leap direct to the solution to that problem. On the other mitt, if yous take no thought what's happening, you lot can use this list every bit a sort of troubleshooting guide.

Common reasons why y'all tin can't access wp-admin

Go through the problems/solutions that apply to you lot one-past-one and y'all should eventually detect the problem and get things working again:

  1. Your login credentials (username/password) are incorrect
  2. You're being blocked past your security plugin
  3. You lot changed the WordPress login URL
  4. Your WordPress memory limit is likewise depression
  5. There's a trouble with your WordPress site (White Screen of Death, 500 Internal Server Error, etc.)
  6. In that location's something wrong with your .htaccess file
  7. Your site URL is wrong
  8. At that place'southward a problem with file permissions
  9. Your cadre WordPress files are corrupted

Let'south get started then that y'all tin get back into your dash. Merely first:

The thing to practise earlier you start digging

Earlier y'all exercise anything else, you lot should clear your browser cache and cookies to brand sure the problem is real.

Before you assume that there'southward some big reason for why yous can't admission wp-admin, y'all should rule out some simple issue with your spider web browser enshroud and cookies. Strange things can happen and sometimes clearing your browser enshroud fixes everything (which means at that place was never any trouble with your WordPress site itself).

To clear your browser enshroud in Chrome:

  1. Click on the "iii dot" icon in the top-right corner.
  2. Hover over the More than tools carte du jour
  3. Choose Articulate browsing data
  4. Make certain that both cookies and browser cache are selected
  5. Click Clear data (I recommend leaving the Time range as the Last hour so that you don't accept to re-login to every single site)
Clearing your browser cache can help if you can't access wp-admin

Here are instructions to articulate the browser enshroud for other spider web browsers.

If that didn't prepare the trouble, let'due south get into the actual issues…

1. Your login credentials are incorrect

1 of the simplest reasons that you might be locked out of WordPress is that your login credentials are incorrect. While this seems bones, it's happened to all of us at some betoken or some other.

You might've forgotten your password, some other user at your site might've changed it for some reason (if you have multiple admins), or, in very rare situations, a malicious actor might've gotten a hold of your account and inverse the password.

And then – let's get you a new password.

Effort this first: Use the WordPress password reset feature

If your admin credentials are incorrect, your first step should exist to use WordPress' born password recovery feature. You lot should see a "Lost your password?" selection on the WordPress login page:

Try the password reset when you can't access wp-admin

If this feature works, you should receive an e-mail that lets you lot reset your countersign and log in. If the password reset feature doesn't work, no worries! Yous can likewise manually reset your countersign from your hosting account, it'll but require a few actress steps.

If that fails: Manually reset your password by editing your database

If the password reset email isn't working, you tin can manually change your password or create a new WordPress admin user by editing your site's database with a tool called phpMyAdmin (which near all WordPress hosts offering).

In that location are a few steps hither, so we wrote unabridged guides on how to practice this:

  1. How to manually alter your WordPress countersign via phpMyAdmin
  2. How to add a new WordPress admin user via phpMyAdmin

2. Your security plugin is blocking you

If you're using a WordPress security plugin, y'all might be unintentionally blocking yourself. For case, many WordPress security plugins include a feature to limit login attempts by temporarily banning you if you enter an incorrect username/countersign too many times.

Here, y'all take two options:

  1. You tin wait – commonly yous'll only exist blocked for a period of time before yous tin try again.
  2. Yous can manually conciliate the security plugin so that you can log in right away.

And so how can you deactivate your security plugin if y'all tin can't access the WordPress dashboard? You tin use FTP (or cPanel File Managing director, if your host has that).

To get started, connect to your site'southward server. And then, navigate to /wp-content/plugins and find the folder for your security plugin. For example, here, you can run into the limit-login-attempts-reloaded plugin. Or, y'all might meet wordfence, etc:

Find plugin's folder

Now, merely rename the folder and append -disabled. This volition automatically disable the plugin and you lot should be able to log in again.

Once you've logged in, you tin rename the folder once again and remove the -disabled part. So, you'll be able to activate your security plugin:

Manually disable security plugin

3. You (or a plugin) changed your login URL

One common WordPress security tip is to change the URL of your login page, which y'all can hands accomplish with a variety of plugins.

It's a bang-up tip…until you forget the new URL and can't access wp-admin! To fix this and reset your original WordPress login URL, you can follow the same steps as manually deactivating a security plugin:

  1. Connect to your server via FTP or your host's file managing director.
  2. Get to the /wp-content/plugins binder and observe the binder of the plugin that's changing the login URL.
  3. Rename information technology to append -disabled.
  4. Log in via the default WordPress login URL.
  5. Rename the folder and reactivate the plugin. Make certain to remember your custom login URL this time!
Manually disable plugin when you can't access wp-admin

4. Your WordPress memory limit is too low

If your WordPress site runs out of PHP retentiveness, that tin can causes issues with different parts of your site and prevent you from accessing the wp-admin surface area.

This fault tin can also come and get, which can make it tougher to diagnose.

When your site'southward retention is maxed out, you might exist unable to access the wp-admin. But during lower memory usage situations, you might not have whatever issues.

To set up this, you tin endeavour asking your hosting support if they'll increase the PHP retentiveness limit for y'all. Or, we have a guide that shows iv ways to increment the WordPress memory limit by yourself.

five. You're seeing the white screen of death or 500 Internal Server Error

So far, the troubleshooting steps take been assuming that your WordPress site is performance properly, there's only something stopping you from accessing the WordPress dashboard.

All the same, another common reason why you can't access wp-admin is that your site is experiencing some type of error. The two biggest ones are:

  1. White screen of death – every bit the name suggests, you just see a white screen with no content when y'all try to log in.
  2. Internal server fault – you'll see a message that says something like "500 Internal Server Error" when yous effort to log in.

If you gear up these errors, your site will start working and you can log in again. Nosotros have defended guides on how to fix both:

  • Prepare WordPress white screen of death
  • Fix WordPress 500 Internal Server Error

We besides have a general guide on how to troubleshoot WordPress errors.

6. At that place's something wrong with your .htaccess file

Your site'south .htaccess file controls important functions, like redirects and how your permalinks are structured. If something goes wrong with this file, it tin can preclude you lot from accessing your WordPress dashboard. You might encounter something similar ERR_TOO_MANY_REDIRECTS when you endeavour to access your dashboard in Chrome. Or, information technology might present as another problem.

The solution here is to delete your existing .htaccess file and force WordPress to generate a new one.

To do that, connect to your server via FTP or cPanel File Manager:

  1. Download the existing .htaccess file to your local computer so that y'all have a backup.
  2. Once you've backed up that existing .htaccess file, delete the .htaccess file on your server.

If y'all can log in after deleting the file, go to Settings → Permalinks and click Relieve. This forces WordPress to generate a new .htaccess file. Y'all don't need to change whatever settings – just click the Save button.

If you still tin can't log in, that means the trouble probably wasn't with your .htaccess file. Yous tin reupload the backup version and try some of the other methods on this list.

7. Your site URL is wrong

Your site URL configures what WordPress "thinks" is your proper URL. If your site URL is wrong, you won't be able to log in because WordPress will try to redirect you to the wrong URL when you endeavour to access the WordPress login folio.

For instance, if your site is https://yoursite.com, WordPress might endeavor to redirect you lot to https://NOTyoursite.com/wp-login.php if your site URL is incorrect, which will lock you lot out of WordPress.

To fix this, connect to your server via FTP or cPanel File Manager. So, edit the wp-config.php file and add together the following lines in a higher place the /* That's all, stop editing! Happy publishing. */ line:

define('WP_HOME','https://yoursite.com'); define('WP_SITEURL','https://yoursite.com');

Make certain to supervene upon https://yoursite.com with the actual URL to your WordPress site.

Change site URL when you can't access wp-admin

Note – once you add this to your wp-config.php file, you'll no longer be able to modify your site URL from the WordPress dashboard – remember this if you need to modify domain names in the future.

8. At that place'south something wrong with your file permissions

A less common problem has to practise with file permissions on your server. If you have the wrong file permissions for the wp-login.php file and wp-admin folder, that can make you unable to access the WordPress dashboard.

In general, all WordPress files should exist 664 (except for the wp-config.php file) and all folders should be 775.

To bank check and change file permissions, you tin can connect to your server via FTP. Then:

  • Brand sure that wp-login.php is fix to 664.
  • Make certain that the wp-admin binder is fix to 775.
Change WordPress file permissions

nine. At that place'southward something incorrect with your core WordPress files

Finally, it'south rare, but there might exist something incorrect with the core wp-login.php file, which is what controls the WordPress login process.

To make sure this isn't the example, you lot follow these steps:

  1. Download the latest version of WordPress from WordPress.org
  2. Extract the Nix folder
  3. Upload the wp-login.php file to your server using FTP or your host'due south File Manager
  4. When prompted, choose to overwrite the existing version of the file on your server

Still tin't admission wp-admin? Last resort: restore from a backup

If all else fails, y'all can always endeavour restoring your site from a working backup. While this is somewhat of a nuclear choice, information technology might be able to prepare small errors that are unique to your site.

Conclusion

Existence locked out of WordPress is never fun. But with the troubleshooting steps in this article, you lot should hopefully accept been able to effigy out the upshot and go dorsum into your WordPress dashboard.

At this bespeak, yous might want to larn more almost WordPress troubleshooting so that y'all can be better prepared in the time to come.

Are you yet locked out of WordPress? Or have any questions about these troubleshooting steps? Ask united states in the comments!

Costless guide

5 Essential Tips to Speed Upward
Your WordPress Site

Reduce your loading time past even fifty-80%
just past following unproblematic tips.

Download free guide

Wordpress Can't Access Login Page When I Change Site Url

DOWNLOAD HERE

Source: https://themeisle.com/blog/cant-access-wp-admin/

Posted by: 9news2onlineac.blogspot.com

Share This :