Categories

[Solved] Cannot Login to WP Admin (404 Page Not Found)

Computer Problem

Suddenly I cannot login to WP Admin. The message is 404 Page not found. I restore files and database backup without success.

Then using filezilla (you could use others), I rename the folder plugins (it’s in wp-content) into pluginsoff

Then I change the permalinks (it’s change by some virus or what to index.php….), to the previous setting: year/month/date/nameposting, and click save.

I also change the .htaccess content in root and wordpres folder with:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

 

Then I rename all plugins folder such as akismet with akismetoff. After that, I rename the folder pluginsoff into plugins.

I check the plugins in WP admin until there is no 404 message. Then I remove the “off” from plugin’s name one by one. If you suspect a plugin is corrupt, e.g. the date is change, it’s better to delete it and reinstall it again.

Then the problem solved.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

Copyright © 2017 Global Infonews - All Rights Reserved
Powered by WordPress & Atahualpa