[Solved] Cannot Login to WP Admin

Computer Problem

Hardened your wordpress!

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]

# 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.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d blogger menyukai ini: