Site icon WP Htaccess Editor

How to Add a Super Admin User Role in WordPress Multisite

WordPress Multisite allows you to manage multiple websites from a single WordPress installation. In a Multisite network, you have the option to create various types of user roles for your sites, and among these roles, the Super Admin is the highest level of access. A Super Admin has the ability to manage the entire Multisite network, including network-wide settings, themes, plugins, and users across all sites.

If you’re running a WordPress Multisite network and need to add a Super Admin, here’s a step-by-step guide to help you achieve that.

Prerequisites

Before proceeding, make sure:

  1. You have access to the WordPress Multisite network as an Administrator or Super Admin.
  2. Your WordPress installation is running Multisite mode (this cannot be done in a standard single-site WordPress setup).
  3. You are familiar with WordPress user roles and permissions.

What is a Super Admin?

A Super Admin is a special user role in WordPress Multisite that provides the highest level of access to the entire network. While a regular Administrator only has control over their individual site, a Super Admin can:

The Super Admin role is crucial for managing the overall operation and security of the WordPress Multisite network.

Steps to Add a Super Admin in WordPress Multisite

Step 1: Log in to Your WordPress Network Admin Dashboard

  1. Log in to the Network Admin dashboard using your credentials. To access this, go to http://yoursite.com/wp-admin/ and click on the My Sites menu in the top-left corner.
  2. From the drop-down menu, select Network Admin and then Dashboard. This will bring you to the main control panel for the entire WordPress Multisite network.

Step 2: Go to the Users Section

  1. In the Network Admin dashboard, hover over the Users menu in the left sidebar.
  2. Click on All Users to see a list of all the users in your Multisite network.

Step 3: Locate the User You Want to Promote to Super Admin

  1. Find the user you want to promote to a Super Admin from the list of users. You can search for the user by their name or username using the search box at the top of the user list.
  2. Once you’ve found the user, click on the Edit link next to their name.

Step 4: Add the User as a Super Admin

  1. Scroll down to the Sites section on the user’s profile page.
  2. In this section, you will see a list of all the sites the user is associated with. While you cannot assign Super Admin access from here directly, you can manage their permissions for specific sites.
  3. To make them a Super Admin, you need to manually add them by modifying the database or using a plugin to assign the Super Admin role.

Manually Adding a Super Admin via the Database: If you prefer to use the database to add a Super Admin, follow these steps:

  1. Access phpMyAdmin: Log in to your hosting control panel (such as cPanel) and go to phpMyAdmin.
  2. Select the WordPress Database: In the left-hand menu, click on your WordPress database (the one used by your Multisite network).
  3. Find the wp_blogs Table: Locate the wp_blogs table (or the table prefixed with your custom prefix). This stores information about all the sites in your network.
  4. Find the wp_users Table: Next, find the wp_users table, which contains the user data.
  5. Open the wp_sitemeta Table: In the wp_sitemeta table, look for the site_admins field. This field contains a list of Super Admins by their user IDs.
  6. Edit the Field: Add the user ID of the person you want to make a Super Admin to the list in the site_admins field. Make sure the user ID is separated by commas if there are other IDs already listed.

This method adds the user as a Super Admin by modifying the underlying database, so use caution and always back up your database before making direct changes.

Using a Plugin:

Alternatively, you can use a plugin like User Role Editor or Multisite User Management to add Super Admin permissions.

Step 5: Verify Super Admin Access

After promoting a user to a Super Admin, they should now have access to all network-wide settings and the ability to manage every site in your Multisite network.

To verify that the user has the correct permissions:

  1. Log in as the user you just made a Super Admin.
  2. Navigate to the Network Admin dashboard.
  3. Check if they can access all network settings, plugins, and themes, and verify that they can manage other users across the entire network.

Step 6: Managing Super Admin Access

It’s important to keep track of who has Super Admin access, as this user role has full control over your entire network. If you need to remove Super Admin privileges for a user:

  1. Follow the same steps to locate their user profile.
  2. Remove them from the site_admins list in the database or disable Super Admin access using the plugin.

Conclusion

Adding a Super Admin user role in WordPress Multisite can provide users with the necessary permissions to manage the entire network, including sites, themes, plugins, and users. Whether you choose to modify the database manually or use a plugin, it’s essential to be cautious and keep track of who has this powerful role.

By following the steps above, you can easily assign and manage Super Admin access, ensuring your Multisite network is properly administered and secure.

Exit mobile version