• I have migrated my site to another host but have run into a strange error. When I login through wp-admin, the login works but then I’m presented with the error page saying “Sorry, you are not allowed to access this page.”

    I have removed all plugins, changed theme back to twentytwenty, cleared all caches etc..

    I’m not sure what to look at next, I don’t understand why my user (who I’ve double checked the capabilities in the database) would fail to read this page.
    If I log in and go to the main site I can see the top status bar with comment counts etc.. I just can’t get to the admin section of the site

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    can you please post a screenshot of the error message so we can see if this is a WordPress error message or one from the webserver.

    If image uploads are not allowed you can upload it to a third party image sharing site and post the link.

    Thread Starter berniefitz

    (@berniefitz)

    Thanks. It’s that exact text, text that I found in one of the php files that comes with the wordpress installation. I’ll try and get the screenshot up shortly

    • This reply was modified 2 years, 10 months ago by berniefitz.
    Thread Starter berniefitz

    (@berniefitz)

    Here is the image of the error: https://ibb.co/f2x51kN

    Can you please post the url of the page where you get this error

    Thread Starter berniefitz

    (@berniefitz)

    https://bernieslearnings.com/wp-admin but only after I sign in. It seems to be failing the capability check that my user is the super administrator, even though the settings seem OK.

    I was able to pull the site down locally and change the URL’s to point to my localhost and I didn’t have the same issue. This is what has me a bit stumped

    Please activate wp-debug mode and post any errors that appear in the debug log. Also if you have access to the apache logs please post any errors in the error log.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Not allowed to access wp-admin’ is closed to new replies.