The WordPress administration email receives site-level notices. This guide explains how to change that address with WP-CLI when you have authorised SSH access to the installation.
Select the installation
-
Connect using your approved SSH account and authentication method.
-
Go to the actual WordPress directory:
cd /path/to/wordpress -
Run WP-CLI as the website’s appropriate system user. Confirm the site and current email:
wp option get home wp option get admin_email
For Multisite, use --url=https://example.com on each command to select the intended site. This procedure does not change the network’s administration email.
Update and verify
Replace the example with a working address you control:
wp option update admin_email '[email protected]'
wp option get admin_emailCheck that the second command returns the intended value. This directly updates the option rather than using the dashboard’s pending-email confirmation workflow. Plugins can add their own behaviour; do not rely on receiving a confirmation message as proof.
Changing admin_email does not change an individual administrator user’s login or email. Check notification delivery separately and retain the old value in case the change needs reversing.