How to change WordPress username and also fix Super Admin problem?

Last updated: 20210407




Step 1:

Use the Username Changer plugin.


Step 2:

If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes)..

Then open your current theme’s functions.php.

Add this to line 1 so it executes when you visit your site.



Visit your site once, then remove the above line from the code.


Your user should now have Super Admin privileges.

How to get Google Verification code for Yoast SEO?

Yoast SEO

To complete the Google Search Console verification process with Yoast SEO, go to SEO → General in your WordPress dashboard and select the Webmaster Tools tab.

All you need to do is paste your Google verification code into the box:

Google site verification in Yoast SEO

Google site verification in Yoast SEO

To find your Google verification code:

  1. Go to the Alternate methods tab in the Google Search Console interface
  2. Select the HTML tag option
  3. You can copy the entire tag, the Yoast SEO plugin will automatically strip out the extra, leaving just the code.
Where to find Google verification code

Where to find Google verification code

Make sure to click Save changes in the Yoast SEO interface when you’re done.

How to fix the deprecated blacklist_keys” option key problem in Contact Form 7 in WordPress?

Last updated: 20210214


If you get the error message when sending a message in Contact Form 7 on your WordPress:

Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /wp-includes/functions.php on line 5143


Then simply do this:

I was able to remove this error by changing the following at contact-form-7\modules\disallowed-list.php, line 51:

$mod_keys = trim( get_option( 'blacklist_keys' ) );


$mod_keys = trim( get_option( 'disallowed_keys' ) );


How to fix WordPress dashboard or login infinite redirect loop?

As of 20191003, you should be using PHP 7.1 and above for your WordPress websites.

However, some older plugins can cause your WordPress Dashboard or wp-login.php page to fail with an infinite redirect loop.

To diagnose, set ‘WP_DEBUG’ to true in your wp-config.php file, then attempt to login or visit your WordPress dashboard.

If it fails, head to your cPanel/WHM to change your PHP version for your website to 5.5, 5.6, 7.0, 7.2 and the likes.

While switching, you should be able to see error messages to help you diagnose the plugins that is causing the problem.