After moving Wordpress, login works, but no admin access anymore

Asked
Active3 hr before
Viewed126 times

7 Answers

wordpressmovinglogin
90%

Meta Stack Overflow ,Stack Overflow en español,Stack Overflow em Português,After transferring a wordpress from an old ISP to a new ISP, I have trouble with the admin access / access to the dashboard.

umeta_id should be NULL and user_id should be the ID of your new user for both entries.

1)
meta_key: wp_capabilities
meta_value: a: 1: {
s: 13: "administrator";s: 1: "1";
}

2)
meta_key: wp_user_level
meta_value: 10
88%

You’re being blocked by your security plugin,You changed the WordPress login URL,One common WordPress security tip is to change the URL of your login page, which you can easily accomplish with a variety of plugins.,Once you’ve logged in, you can rename the folder again and remove the -disabled part. Then, you’ll be able to activate your security plugin:

So how can you deactivate your security plugin if you can’t access the WordPress dashboard? You can use FTP (or cPanel File Manager, if your host has that).

To get started, connect to your site’s server. Then, navigate to /wp-content/plugins and find the folder for your security plugin. For example, here, you can see the limit-login-attempts-reloaded plugin. Or, you might see wordfence, etc:

/wp-content/plugins

So how can you deactivate your security plugin if you can’t access the WordPress dashboard? You can use FTP (or cPanel File Manager, if your host has that).

To get started, connect to your site’s server. Then, navigate to /wp-content/plugins and find the folder for your security plugin. For example, here, you can see the limit-login-attempts-reloaded plugin. Or, you might see wordfence, etc:

limit - login - attempts - reloaded

So how can you deactivate your security plugin if you can’t access the WordPress dashboard? You can use FTP (or cPanel File Manager, if your host has that).

To get started, connect to your site’s server. Then, navigate to /wp-content/plugins and find the folder for your security plugin. For example, here, you can see the limit-login-attempts-reloaded plugin. Or, you might see wordfence, etc:

wordfence
load more v
72%

When a password doesn’t work (and password recovery fails): Reset your password using phpMyAdmin.,Usually, if you try to login to your dashboard and get an “incorrect password” message, the easy solution is to change your WordPress password by clicking the “Lost your password” link.,Now login to your WordPress admin dashboard with your new password.,Now go and try to access your WordPress dashboard.

When You’ve Forgotten Your Custom Login URL

A common WordPress security practice is to change the default admin login URL (domain.com/wp-admin) to something custom. This can help prevent hackers and bots from constantly hammering your login URL trying to gain access.

domain.com / wp - admin
load more v
65%

1. When WordPress password reset is not working,If you are able to login, this means one of your plugins is the cause of your WP-admin login issues.,Recommended WordPress Hosting,Now, try to login to your WordPress admin dashboard.

Add these two lines of code (replace example.com with your domain), and save the file:


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

define('WP_HOME', 'http://example.com');
load more v
75%

In this guide, I will show you how you can fix the problem and how to change your WordPress site URL in order to be able to access your WordPress Admin again.,After adding the code and saving the changes to the file you will regain access to your WordPress site and you will be able to log in to the admin area as usual.,One of the common WordPress errors is having a problem accessing WordPress after changing the site URL on the WordPress general settings page.,They will help you regain access to your website and the WP Admin dashboard if you can’t access it after changing the WordPress site URL.

Add the following two lines of code to the top of the wp-config.php file after replacing https://www.example.com with your site URL, then save the file.

define('WP_SITEURL', 'https://www.example.com');
define('WP_HOME', 'https://www.example.com');
40%

If you are having trouble logging in to your WordPress Administration Screen, here are some possible solutions.,/wp-content/pluginsXX/ and they will not be recognized. Rename the folder back to /wp-content/plugins/ once the base WordPress installation has been recovered.,Some firewalls (e.g., eTrust Personal Firewall) block you from logging in to WordPress. Disable your firewall and try to log in again.,Some WordPress Plugins may interfere with the login process. Disable all of your WordPress Plugins, either through the Administration Screen or by removing them from the /wp-content/plugins/ folder, so they will not be recognized by the program.

< ? php
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
include('index.php'); ?
>
load more v
22%

Even though starting with WordPress is fun, one of the things that can crop up on occasions that will make you sweat is the wp-admin not working error. Realising that the wp-admin URL is not available or working for your site is stressful and worrying. In this post, we will look at why the WordPress admin login not working issue arises and how to fix it.,Save the file and then try to reaccess your site. If this did not work, you could try some of our other solutions to fix the error establishing a database connection in WordPress.,Home  >  Blog  >  WordPress Login Not Working? Fix wp-admin not working,Most website users report this problem when they try to login to their WP admin area and find the WordPress admin not working; the issue is usually traced to theme or plugin coding errors. The best solution is to disable the plugins or disable the active theme.

Sometimes you may be able to simply repair the WordPress database with its built in service. To repair a database you need to firstly add this code to your wp-config.php file.

define('WP_ALLOW_REPAIR', true);
load more v

Other "wordpress-moving" queries related to "After moving Wordpress, login works, but no admin access anymore"