I recently set up a local copy of WordPress, added some content and created a child theme. Then I moved it to my webserver, changed the config file, changed the “localhost” occurences in my SQL file to my online URL. I also changed my database prefix from what I had locally on all tables and in the config file.
Everything works well on the outside. But then as I log-in is get the:
You do not have sufficient permissions to access this page.
Update:
Even my local install of wordpress is giving me the same problem.
First thing to do is check your directory permissions. Generally, directories should be 755, files should be 644. See Changing File Permissions « WordPress Codex and Hardening WordPress « WordPress Codex.
Also, since you changed your DB table prefix, see this: How to solve âYou do not have sufficient permissions to access this page.â in WordPress.
The most common cause is an upgrade that didnât complete.
Check it 😉