• Hi I can’t log in to my wordpress site as an admin. And when I say I forgot my password, it sends me new credentials but only as a regular user, not as an admin, so now my dashboard isn’t there and I can’t make any edits to my site.

    I have no idea what to do. I’ve tried over and over but it just leads me back to the same non-admin site. Can you please help me?

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your account may have lost admin privileges for some reason.

    If you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in your hosting account’s control panel), go to the wp_users table and find the row for your user_login. Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id. Set the value of this row to:

    a:1:{s:13:"administrator";b:1;}

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.