Change WordPress admin email without confirmation

30 Comments

  1. Daniel

    Great!
    It working.
    Tks a lot.

  2. yes it helped… specifically the database one :)
    Cheers….

  3. This is one of the more annoying updates to go into WordPress in many years. (Been working with WordPress since 2006)

    It’s a nice idea, but WordPress’s email php program is not terribly reliable, especially on some host platforms.

    This ends up creating a lot of work for no solid reason.

    1. Yes, it does feel like a brute force approach to security, much like a pat-down at the airport. I’ve never seen an attacker attempt to take over a site by changing the site admin this way. That said, it’s certainly possible to do and I have seen customers change the admin email by mistake. Until a better solution comes along, I’m okay with WordPress trying out security changes.

      I no longer bother the customer with an email volley on this. I’m in the database anyway and it’s a quick change.

  4. You don’t need to use a database editor for this. Browse to /wp-admin/options.php, search for the admin_email field, and update it there. This bypasses the confirmation check.

    (Just confirmed this on WP 4.9.2.)

    1. Thanks for the tip Rick. I don’t normally recommend editing WP core files, but if it works for you that’s great!

    2. Thanks Rick I just did this because for over a month I have not been about to receive a confirmation email when trying to change it! Lets hope I will actually receive the emails since i bypassed the confirmation!

    3. Worked for me nut all my emails going to the spam folder. how can I fix that issue?

      Thanks

      1. Nothing in this post will cause all of your emails to go to spam. Must be a completely different issue.

    4. Does not work. When I save in options.php, get error message:

      Not Acceptable!
      An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

  5. Kevin

    Genius! Thanks. Been toying with that for some time.

  6. This fixed a long row of dominoes. First there is a plugin that updated, messed up things. Needed to make a backup but wanted it to go to the new email. Could not get the confirmation. Your help fixed that, now I can go back down the chain of problems without waiting hours or never. Thanks!

  7. FWIW, I recently had a typo when changing the admin email address. Since the address I entered wasn’t a real address (I typed suport@domain instead of support@domain), the email was never delivered and I couldn’t confirm the change. I still was able to get emails sent to the old admin email though. If I had made the mistake in the database, it may have taken a while to figure out why emails aren’t being delivered. At first I thought this was a bit of a pain, but it’s actually a useful feature.

  8. Zack

    There is a slight problem. How do I locate this wp_options table in the PHPMyAdmin? I’ve tried looking for a while now, but this table does not seem to exist at all. Of course, coding stuff can be considered a foreign language for me.

    I also cannot change that email because the old email does not exist any more, and WordPress will keep sending to that old email. Very, very, very annoying. They don’t provide a way to even get around this.

    1. Hi Zach. The wp_options table is required so it definitely exists. You may have a different prefix however, so look for xyz_options or similar. Changing the admin email via PHPMyAdmin is meant to solve the problem for those without access to the original email account.

  9. Jack

    Met
    hod 1 not work because not getting confirmation email
    Method 2 changing in DB Its showing up new email in Administrator email followed by message in bottom.

    This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.

    but i am not getting any confirmation email yet

    1. If the admin email has been change to the you want, you can dismiss this message.

  10. milviolua@yahoo.com

    some databases dont state Wp-admin,
    but just Option.
    In case you cant find wp-admin

  11. Ted

    I changed out the wp_options & wp_users with my new email but when I go back to General settings in WordPress the other email I do not want is still there.

    1. Hi Ted, you shouldn’t need to change anything in wp_users, try going back and following along again.

  12. Great post! There is also a plugin in the repo that you can use to do this.

    Change Admin Email
    https://wordpress.org/plugins/change-admin-email-setting-without-outbound-email/

  13. Great pot Bryan. I was searching for an easy way to change the admin email id because, till now, I was using a plugin to change the admin email address and it was hurting my website speed as I need to install a plugin just to change an email id. But now as you mentioned that we can change the email from the database, it is the best way I think. However, we need to be careful whenever we are working with the database as it is very sensitive.

    1. Good advice Rajesh. Care certainly should be taken when editing the database. Taking a backup before you edit is a smart thing to do.

  14. Bryan,
    Thanks for this. It was super frustrating trying to change the admin email, and the other solutions I found involved installing plugins, and setting up SMTP servers, and were just nuts for the seemingly simple end goal of “change email”. You’re awesome!

    1. Excellent, glad it worked for you Keith.

  15. What a champion! Thanks so much for the fix and take care :)

    1. Glad we could help Lara. Thanks for stopping by ;)

  16. sri

    Great!
    It working.
    Thanks for guidence.

  17. That helps me, now I can change to any email address when client wants. Some client even don’t understand what is meaning of confirmation email and how to confirm it. So, this is better we change email going through Database, so no conflict with clients understanding. Thanks for this tutorial.

    1. I don’t hardly bother customers with this any more. I’m struggling to remember if even one client has confirmed the change via email… Glad we could help.

Leave a Reply to Scott DeLuzio Cancel reply

Your email address will not be published. Required fields are marked *