input license here

Can't access WordPress admin page: Cause and fix




When you first install or during use, you may not be able to access the admin page WordPress. That makes you worried and don't know how to fix it? Please refer to the following article of BKNS to know how to fix the error when Can't access WordPress admin page Please!


Can't access the WordPress admin page, what to do?

Can't access the WordPress admin page, what to do?


1. Can't access the WordPress admin page for any reason?


1.1 Can't access admin page in wordpress due to hosting switch or plugin conflict


After changing host or plugin conflict can prevent you from accessing WordPress admin page. At that time, the returned results page will report an error or can't load forever.


1.2 The wordpress website cannot be accessed because it cannot establish a connection to the database


Some of the reasons that you cannot establish a connection to the database are:



  • Some Weak Hosting

  • Due to DDOS, mySQL is overloaded and can't process the data sent and sent back

  • Lack of RAM

  • File's Database Information wp-config.php was entered incorrectly

  • Server not responding

  • Database does not exist or is corrupted

  • Because the connection time to the database expires,…


1.3 Can't access wordpress site error due to exhausted memory limit, poorly coded theme or a Plugin


Exhausted memory is one of the reasons why you Can't access WordPress admin page. If it's due to memory limit exhaustion, a certain plugin is causing it, or the theme is coding poorly, you will see a white screen on the WordPress admin page.


1.4 Can't access wp admin due to wrong password


There are times when you have entered the correct username and password but still cannot access the WordPress admin page. You try to reset your password and do not receive an email response. If this happens, you most likely have become a victim of Hack.


1.5 Error wordpress site not found due to loss of admin privileges


Sometimes when you log in to the WordPress admin page, you don't see any functions such as no themes, Plugins, etc. Most likely because your admin rights have been lost by Hackers.


1.6 Can't access admin page in wordpress due to PHP error


PHP errors can be unexpected functional errors, syntax errors, etc. This error occurs when extending code to your website, ie, you pasted any code from a website that has locked WordPress admin rights.


2. Can't access the WordPress admin page, what to do?


2.1 Fix the error of not being able to login to wordpress due to hosting change or plugin conflict


The simple fix is ​​as follows:


Way 1


Step 1: Enable incognito or clear access history


Step 2: Replace URL /wp-login.php give wp-admin


Can't access WordPress admin page due to hosting switch or plugin conflict


Step 3: Login with username and password as always


Way 2


Step 1: Access Hosting containing website


Step 2: Edit files wp-config.php


Step 3: Add Code:


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

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

Add the Code if the URL is in the form www:


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


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


(Note: Replace example with your domain name)


2.2 EditI can't login to wp-admin because the connection to the database could not be established


Fix this error by:



  • Kiểm tra file wp-config

  • Check MySQL

  • Check the file /wp-admin/


2.3 Unable to access WordPress admin page due to exhausted memory limit, poorly coded theme or a Plugin


Plugins can be the cause of the error that cannot access the WordPress admin page

The plugin can be the cause of the error that cannot access the admin page in wordpress


In this case, you can try one of the following:



  • Increase PHP Memory Limit in WordPress

  • Disable Plugins then gradually enable Plugins one by one to check which Plugin is causing the error

  • Replace my current theme with a default theme

  • Try reinstalling a fresh copy of WordPress

  • Use the WordPress debug function to see what type of error is being output


2.4 Can't access WordPress admin page due to wrong password


If you cannot access the admin page due to the wrong password, it is best to reset your WordPress password from phpMyadmin.


Can't access WordPress admin page due to wrong password

Can't access wp admin due to wrong password


2.5 Fix unable to access wordpress site due to loss of admin privileges


To fix it, you should add an admin to the WordPress database via phpmyadmin (MySQL).


2.6 Fix the error of not being able to access the admin page in wordpress due to PHP


To work around this problem, you should use an FTP program. After installing this program, proceed login website yours => go to the edited theme file (probably file function.php) => remove previously added code => file reload.


Above, BKNS has guided you on how to fix it when kCan't access WordPress admin page. Regularly follow other useful articles of BKNS - one of the leading providers of information technology services and network solutions in Vietnam by visiting bkns.vn Please!


Related Posts
Diệp Quân
Nguyen Manh Cuong is the author and founder of the vmwareplayerfree blog. With over 14 years of experience in Online Marketing, he now runs a number of successful websites, and occasionally shares his experience & knowledge on this blog.
SHARE

Related Posts

Subscribe to get free updates

Post a Comment

Sticky