Skip to the content
CynderHost
  • Status
  • Main Site
  • Client Portal
  • Contact Support
  • Status
  • Main Site
  • Client Portal
  • Contact Support

cPanel

39
  • Getting Started
  • Setting Up And Redirecting To https (SSL)
  • Installing WordPress, Drupal, or Joomla
  • How To Upload And Add Site Files
  • Backing Up cPanel and Websites
  • “SSL Isn’t Working. My Site Shows Not Secure”
  • How To Migrate Your Website From cPanel
  • Export Or Import A MySQL Database With phpMyAdmin
  • Fix “Resource Limit Reached” Errors
  • PHP Workers
  • Change PHP Version in cPanel
  • Enabling GZIP Compression
  • HTTPS Version of URL Is Showing the Wrong Site
  • Adding a Subdomain/Other Domain As a Copy Of a Site (cPanel)
  • Enable Brotli Compression
  • Login To cPanel
  • How to Edit DNS Records in cPanel
  • Adding PHP Extensions (cPanel)
  • Increasing PHP/WordPress Max Upload Size
  • Reinstall WordPress
  • Viewing Hidden (dot) Files in the cPanel File Manager
  • Whitelisting Emails Addresses or Domains from Spam Filter
  • Blacklisting Emails Addresses or Domains from Spam Filter
  • 550 Authentication Required
  • Manage Websites via WP Toolkit
  • Remote MySQL Not Working (Server Connection Error)
  • Cloudflare Not Working When SSL is Set to “Full (Strict)”
  • Restoring a Backup in cPanel
  • Accessing PHPMyAdmin
  • Connecting to and Using FTP
  • Creating a Backup in cPanel
  • Setting Up a Staging Site for WordPress (cPanel/Plesk)
  • Resetting cPanel/Plesk Password
  • Moving/Copying a WordPress Site to a Different Domain in the Same Hosting Plan
  • Add a Subdomain in cPanel
  • Editing PHP.ini Configuration Variables
  • Cloudflare, WordPress, and Redirect Loops
  • Unblocking your IP Address on cPanel
  • Connecting a Cloudflare-Registered Domain

Domain

11
  • Nameservers
  • Adding and Setting Up Domains
  • How To Setup Cloudflare As A CDN
  • How Long Does DNS Propagation Take? Can You Make It Faster?
  • Migrating Your Domain/Website With Zero Downtime
  • Clearing Your DNS Cache (Browsers)
  • Clearing Your DNS Cache (OSes)
  • Previewing Your Website
  • Add a Subdomain in cPanel
  • Connecting a Cloudflare-Registered Domain
  • Setting Up a Domain on High Performance Plans

Plesk

25
  • How To Install WordPress
  • Backing Up Plesk and Websites
  • Export Or Import A MySQL Database With phpMyAdmin
  • Supported PHP Extensions (Plesk)
  • Enabling GZIP Compression
  • How to Edit DNS Records in Plesk
  • Reinstall WordPress
  • FTP Not Working on High-Performance Plans
  • Disabling Caching
  • Unblock an IP From the Firewall
  • Block a URL (Page Rules)
  • Manage Websites via WP Toolkit
  • AWStats/Webstats and Bandwidth Don’t Match Up
  • Contact Form 7 Submission Does Not Work (Loads Forever)
  • Accessing PHPMyAdmin
  • Connecting to and Using FTP
  • Setting Up a Staging Site for WordPress (cPanel/Plesk)
  • Resetting cPanel/Plesk Password
  • Raising the PHP Upload Limit / Max Post Size
  • Moving/Copying a WordPress Site to a Different Domain in the Same Hosting Plan
  • Setting Up DNS Records for Email
  • Adding a New Domain
  • Managing SSL on High Performance Plans
  • Connecting a Cloudflare-Registered Domain
  • Setting Up a Domain on High Performance Plans

WordPress

28
  • How To Speed Up Your WordPress Website
  • Debugging PHP, WordPress, And .htaccess Errors (5XX)
  • Backing Up A WordPress Website
  • How To Migrate A WordPress Website
  • Building Websites With WordPress And Page Builders
  • Using WordPress Plugins
  • WP 5.5 Update Breaks Site
  • Nulled Themes And Premium Plugins
  • Make WordPress Accessible From Multiple Domains
  • Images Not Showing Up After Migration
  • Mixed Content Warnings in WordPress
  • Increasing PHP/WordPress Max Upload Size
  • Reinstall WordPress
  • 404 Errors on WordPress When Accessing Pages, Posts, and Archives
  • Setting Up the CynderHost WordPress Plugin
  • Manage Websites via WP Toolkit
  • Put WordPress in Maintenance Mode
  • Have WordPress Homepage Display a Static Page
  • Disabling WordPress Plugin Without WP Admin Access
  • Locked Out From Website By WordPress Plugin
  • WordPress Security 101: Keeping Your Site Secure
  • Contact Form 7 Submission Does Not Work (Loads Forever)
  • Restoring a Backup in cPanel
  • Accessing PHPMyAdmin
  • Can’t Access WordPress Admin: “Sorry, you are not allowed to access this page.”
  • Setting Up a Staging Site for WordPress (cPanel/Plesk)
  • Raising the PHP Upload Limit / Max Post Size
  • Moving/Copying a WordPress Site to a Different Domain in the Same Hosting Plan

Web Development

7
  • How To Create A Hello World Website
  • Debugging PHP, WordPress, And .htaccess Errors (5XX)
  • Changing Your Hosts File
  • Clearing Your DNS Cache (Browsers)
  • Clearing Your DNS Cache (OSes)
  • Previewing Your Website
  • Setting Up a Staging Site for WordPress (cPanel/Plesk)

Client & Billing

14
  • Contacting Support
  • Site/Service Has Been Suspended or Terminated
  • Overdue And Recurring Invoices
  • Can’t Verify My Email Address
  • How To Cancel a Subscription
  • Invoice Payment Isn’t Showing Up
  • Can’t Sign In With Google
  • Pay an Invoice
  • Email Verification Isn’t Working
  • Setting Up a Stripe/CC Recurring Payment
  • Setting Up a Recurring PayPal Subscription
  • Resetting cPanel/Plesk Password
  • How to Upgrade or Downgrade a Plan
  • Check Remaining Funds/Balance

NitroPay

6
  • What Is NitroPay?
  • Signing Up For NitroPay
  • NitroPay Payments
  • How To Add Ads To Your Site
  • Setting Up Your Ads.txt
  • Ad Placement Tips for Best Earnings

API

3
  • Cache API Reference
  • Setting Up the CynderHost WordPress Plugin
  • CynderHost High Performance API Key

Emails

12
  • How to Adjust Spam Filters?
  • Incoming Emails Going to Spam?
  • Whitelisting Emails Addresses or Domains from Spam Filter
  • Blacklisting Emails Addresses or Domains from Spam Filter
  • 550 Authentication Required
  • Microsoft Office 365 / Hotmail / Gmail Delivering My Emails to Spam
  • Email Rejected By Gateway
  • Setting Up DNS Records for Email
  • Adding a New Domain
  • Logging into the Email Panel
  • Creating an Email Account
  • Checking Email via Webmail, and IMAP/POP3
View Categories

Can’t Access WordPress Admin: “Sorry, you are not allowed to access this page.”

5 min read

0:00 / 5:01
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

After you log in to WordPress, you may see that going to all /wp-admin pages throws the following error:

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

In addition, you may notice multiple missing icons/options in your WP Admin toolbar.

This issue usually stems from a plugin conflict or missing user capabilities in the database.

Plugin Conflict #

To determine if a plugin is giving you trouble logging in, you can disable all plugins temporarily via File Manager/FTP.

To recap:

You can also disable all your plugins temporarily at once by renamed the “plugins” folder to something else, like “plugins.d”

The plugins folder is located in the /wp-content folder.

Renaming back the folder will re-enable your plugins.

If your site’s WP Admin still does not function after disabling all your plugins, proceed to the next step.

Missing WordPress User Capabilities #

A variety of issues (plugin updates, database cleanups, etc) can cause your database to become corrupted.

To fix this, you’ll need to manually add the missing fields.

Before you do this, take a FULL backup of your site (make sure the database is included), just in case.

Next, open up PHPMyAdmin for the WordPress install that is having issues.

{prefix} = the database prefix of your WordPress install. This is what comes before the underscore. In the following example, the prefix is wpkl

Click on the “{prefix}_users” table and locate the user with your email. Make sure the user exists, and make note of the user ID:

The ID is 1 in this case

Next, navigate to the “{prefix}_usermeta” table, and click the “Search” tab:

Enter the user ID you just found in the user_id space, leave the other fields blank and hit Go:

Finally, look for an entry with a meta_key value of “{prefix}_capabilities”

Ensure this key has the value of:

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

If this meta_key does not exist, create it:

Now, check if WP Admin is working. If not, proceed to the next step.

Missing User Roles Entry #

While in PHPMyAdmin, locate the “{prefix}_options” tables

Here, find the “{prefix}_user_roles” option and set it to:

a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:61:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}

If this key does not exist, create it:

Now, check if WP Admin works (you may need to logout then log back in).

If it still does not work, you may need to consider contacting a developer or our support team.

Updated on November 14, 2021

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Accessing PHPMyAdminSetting Up a Staging Site for WordPress (cPanel/Plesk)
Table of Contents
  • Plugin Conflict
  • Missing WordPress User Capabilities
  • Missing User Roles Entry

© 2026 CynderHost

Powered by WordPress

To the top ↑ Up ↑