Finally, don’t forget to save the changes and upload the file to your website.

Self-hosted database solution offering control and scalability.
Post Reply
shaownhasane
Posts: 67
Joined: Mon Dec 23, 2024 2:26 pm

Finally, don’t forget to save the changes and upload the file to your website.

Post by shaownhasane »

add_action( 'init', 'wpb_create_super_admin' );
Make sure to enter the $username, $password, and $email values ​​as well as the values ​​you want to use for the new super administrator user account.


You can now access the WordPress lebanon phone number admin area of ​​your main site using the data you added to the function file.

Important: After logging in to the super administrator account, don’t forget to delete the code added to the function file.

Protect Super Admin Accounts in WordPress Multisite
We find that many beginners are unable to access their WordPress multisite super admin account.

Some people simply forgot their login credentials, others were attacked by hackers who gained access to multiple of their websites, causing severe financial and reputational damage.

We recommend that all users follow our comprehensive WordPress security guidelines to protect their sites.

Here are some tips you can put into practice right away.

1. Set up WordPress automatic backup

Make sure you use a WordPress backup plugin to automatically create a backup of your WordPress website and store it in a remote location.

We recommend a photocopier. It's easy to use and configure, creates secure backups and stores them in the cloud. What's more, it allows you to easily restore your website with just a click from your backup.
Post Reply