Go to ...

Techpository

A Better Technical Repository

RSS Feed

WordPress: Cannot log into admin pages


On occasion something may break your login access to your WordPress site.  For me this has usually been do to a plugin problem after and update.  The login page may not load or you may even get a cookies need enable error.

To fix the issue:
Log into your hosting site as root.

Go to the directory you install word press into.  Possibly: /var/www/html/wordpress

Go to /wp-contents/

mv plugins/ oldplugins

mkdir plugins

chmod 705 plugins/

You can now log into your wordpress site.

Once logged in:

cp -R oldplugins/* plugins/