Not Allowed to Access This Page? WordPress Fix

Fix Sorry, you are not allowed to access this page in WordPress: check user roles, plugins, database prefix keys and permissions, with a free cause finder.

Share this post
7 min read

Last updated December 3, 2026

Sorry, you are not allowed to access this page is a WordPress message. It means WordPress thinks your account lacks permission for that screen.

It is not a server error, so the fix is usually inside WordPress.

Often it is correct, like when an author opens a settings page. When an administrator sees it, something is broken. The finder below points you to the likely cause.

Key Takeaways

  • WordPress checks your user role and its capabilities before showing an admin page.
  • Lower roles, like Author or Contributor, cannot open many admin screens on purpose.
  • A plugin or theme conflict can block even administrators.
  • Changing the database prefix without updating role keys is a classic cause.
  • Always back up the site before you edit files or the database.

Digieh access error cause finder

Answer two questions to get your most likely fix. Nothing leaves your browser.

Digieh tool. Steps follow WordPress.org documentation on roles, debugging and file permissions, read December 3, 2026.

Back up first. Several fixes below touch files or the database. Make a full backup so you can undo any mistake.

What Does This Error Mean?

Every WordPress user has a role, and each role has a set of capabilities. Before showing an admin page, WordPress checks if your role has the right one.

If the check fails, you see this message. WordPress.org lists six default roles, from Super Admin down to Subscriber.

Source: WordPress.org, Roles and Capabilities, read December 3, 2026.

Which Roles Can Open Which Screens?

RoleWhat WordPress says it can do
Super AdminNetwork administration and all other features
AdministratorAll administration features within a single site
EditorPublish and manage posts, including other users posts
AuthorPublish and manage their own posts
ContributorWrite and manage their own posts, but not publish them
SubscriberOnly manage their profile

Source: WordPress.org, Roles and Capabilities, Summary of Roles, read December 3, 2026.

So if an author clicks a link to edit someone else’s post, the message is expected. Nothing needs fixing.

7 pathsOur cause finder covers seven fix paths. Digieh tested each one on December 3, 2026.

Why Would an Administrator See This Error?

  • A plugin or theme changed or broke your capabilities.
  • The database prefix was changed, but the role keys still use the old prefix.
  • A site move or restore mixed up files and database settings.
  • A WordPress update did not finish its database update.
  • Wrong file permissions after a move.

Think about what changed right before the error. That is usually the fastest clue.

Check your site activity log if you have one. It can show which plugin, theme or setting changed, who changed it and when.

How Do You Rule Out a Plugin or Theme?

  1. Open your host file manager or connect by SFTP.
  2. Go to wp-content and rename the plugins folder to plugins-off.
  3. Log in again and try the page.
  4. If it works, rename the folder back to plugins.
  5. Turn plugins on one at a time until the error returns.

If plugins were not the cause, rename your active theme folder. WordPress will fall back to a default theme if one is installed.

Try this today. Before you rename anything, check if another administrator can log in. If they can, the problem is with your user, not the whole site.

Free updates

Join the Digieh list

Be the first to know when our weekly brief launches.

No spam. Unsubscribe anytime. Read our Privacy Policy.

How Do You Fix It After Changing the Database Prefix?

This is a common cause on sites that changed the table prefix for security. WordPress stores some role data with the prefix inside its name.

The prefix appears in the user_roles option and in user meta keys like capabilities and user_level. If these still use the old prefix, WordPress cannot find your role.

Source: WordPress core Trac ticket 4780 and ticket 41240, read December 3, 2026.

After a backup, an experienced user can rename the keys in phpMyAdmin. This example changes the prefix from wp_ to abc_.

UPDATE abc_options SET option_name = 'abc_user_roles' WHERE option_name = 'wp_user_roles';
UPDATE abc_usermeta SET meta_key = 'abc_capabilities' WHERE meta_key = 'wp_capabilities';
UPDATE abc_usermeta SET meta_key = 'abc_user_level' WHERE meta_key = 'wp_user_level';

Also check that $table_prefix in wp-config.php matches your real table names. If you are not sure, ask your host for help.

Does This Error Happen on Multisite?

Yes, and the cause can be different. On a multisite network, some screens are only for the Super Admin role.

A site administrator who opens a network screen will see this message. That is expected, because network settings need Super Admin rights.

If a Super Admin sees it, check the network settings and the list of super admins. Moving a network between servers can also break role data.

How Do You Give a User the Right Role?

  1. Log in as an administrator.
  2. Go to Users, then All Users.
  3. Hover over the user and click Edit.
  4. Choose a new role from the Role menu.
  5. Click Update User at the bottom.

Give the lowest role that lets the person do their job. Too many administrators make a site much harder to keep safe.

How Do You Finish a WordPress Update?

Sometimes a core update needs to update the database too. Until it does, some screens may refuse access.

Go to yoursite.com/wp-admin/upgrade.php. If WordPress asks to update the database, click the button and let it finish.

Then update your plugins and theme. Old versions may check for capabilities in an outdated way.

How Do You Check File Permissions?

Wrong permissions are a less common cause, but they appear after some site moves.

ItemRecommended permission
Folders755 or 750
Files644 or 640
wp-config.php440 or 400
Any folderNever 777

Source: WordPress Developer Resources, Changing file permissions, read December 3, 2026. These values apply to common shared hosting setups.

How Do You Find Clues With Debug Mode?

WordPress can log errors to a file. That log often names the plugin or file that causes trouble.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Add these lines to wp-config.php, above the line that says to stop editing. Then load the page again and open wp-content/debug.log.

Source: WordPress Developer Resources, Debugging in WordPress, read December 3, 2026.

Turn debug mode off when you finish, so the log file does not grow forever.

Look for lines that mention a plugin folder name or the word capability. Those lines usually point straight at the cause.

Never leave debug display on for a live site, because it can show file paths to visitors.

What If You Are Locked Out Completely?

If you cannot open the dashboard at all, work from your host file manager and database tools. Our guides to the WordPress login loop and the WordPress critical error cover related lockouts.

If the server shows 403 Forbidden instead of this message, read our WordPress 403 Forbidden fix. That is a server error, not a WordPress role check.

Before any big change, take a backup. Our free WordPress backup guide shows how.

What caused your access error?

  • A plugin
  • Database prefix
  • Site move
  • Wrong user role
  • Not sure

Test Yourself

An author opens another user’s post to edit it and sees this message. What should you do?

  1. Fix the database
  2. Nothing, it is expected
  3. Reinstall WordPress

WordPress says authors can only publish and manage their own posts.

You changed the table prefix and now admins are blocked. What is the likely fix?

  1. Rename the prefixed role keys
  2. Delete all users
  3. Change the theme

Role data is stored in keys that include the table prefix, so they must match the new prefix.

Frequently Asked Questions

Why does WordPress say I am not allowed to access this page as admin?

Usually a plugin conflict, an unfinished update or role keys with an old database prefix.

Is this the same as a 403 error?

No. This message comes from WordPress checking your role. A 403 comes from the server.

Can a plugin cause this error?

Yes. Rename the plugins folder to test, then turn plugins back on one at a time.

Will I lose content when fixing this?

Not if you back up first and follow the steps carefully.

Conclusion

Start with who sees the error and what changed. Check roles, then plugins, then the database prefix. Back up before any file or database edit.

Editor’s Note

This guide is accurate as of December 3, 2026. Role details come from WordPress.org documentation, and prefix details come from WordPress core Trac tickets. Database edits carry risk, so ask your host if you are unsure.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Keep exploring

Your next read is waiting

Found this useful?

Share this post
Avatar photo

Syed Wasif Raza

Syed Wasif Raza is the founder and editor of Digieh. He writes about health, food, lifestyle, news and sports in plain, easy English. Every guide he publishes is checked against official sources such as government and health agency pages. Connect with him on LinkedIn.

Articles: 1010

Leave a Reply

Your email address will not be published. Required fields are marked *