• I can login fine but after that when I click on the dashboard icon at the top left, it just reloads the homepage.

    And if I try to access the dashboard via a direct link, it shows:

    “Sorry, you are not allowed to access this page.”

    I’ve tried the file/folder permissions, deactivated plugins & themes, gotten a .htaccess file from my host, created a new admin account via cpanel, confirmed the table prefix.

    None has solved the issue which is the same for the 3 admin accounts we have on our site.

    It started 3 days ago and even when our hosting provider restored a 1-week-ago backup, the issue remained.

    Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @onuegbu,
    Hope you are doing well!
    Please check the yourprefix_capabilities column in yourprefix_usermeta table in your WordPress database.
    For the admin, it should have value a:1:{s:13:"administrator";b:1;} also the yourprefix_ should be the prefix used in your wp-config file.
    Hope that helps ??

    Thread Starter onuegbu

    (@onuegbu)

    Thank you for your response @akshat007

    I’ve checked and confirm the prefix, user capabilities attribute and config.php as you instructed and they were all correct.

    But the issue still remains.

    I have even replaced all the files and folders (except wp-content and config.php) from a new WordPress download, yet the issue remains.

    I just want back the admin dashboard access to export our posts, pages, media to our new hosting provider.

    Or is there another way I can do that?

    (Our database is bloated (over 11gb) tried reducing but didn’t work so we just want to move out the posts (1,200+), pages, and media to a new database)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorry, you are not allowed to access this page’ is closed to new replies.