WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I delete the admin account? (4 posts)

  1. HopefulGJL
    Member
    Posted 2 years ago #

    Hello,

    Based on another topic, and other research, I know it would be best for me to delete the admin account.

    Does anyone know how to accomplish this?

    There is no way to do so in the WordPress users section that I can tell.

    And, when looking to see if I could find the answer elsewhere (I couldn't), I saw that deleting the admin account might delete posts too? Is that true?
    If so, how can I make it so the posts, pages, and/or anything else created under admin won't disappear?

    I currently find this a fairly pressing issue to resolve as I have already been hacked (at least) once. That issue has been resolved (deleted, restored, changed passwords, etc.), but I'm trying to prevent it from happening in the future.

    I don't know too much about this stuff, so I thank-you in advanced for any detailed information you are able to provide.

  2. There is no way to do so in the WordPress users section that I can tell.

    Sure there is.

    http://your-wordpress-url-here/wp-admin/users.php

    Move the mouse to the user ID you want to delete. The hidden Delete link will become unhidden.

    I saw that deleting the admin account might delete posts too? Is that true?

    True! But you can re-assign the posts to another account. You'll have a chance to select an account to assign all the posts and links to. It'll say Attribute all posts and links to: and select the account from the drop down.

    I currently find this a fairly pressing issue to resolve as I have already been hacked (at least) once. That issue has been resolved (deleted, restored, changed passwords, etc.), but I'm trying to prevent it from happening in the future.

    Ah. Have you properly deloused your blog then?

    Check your site here.

    http://sitecheck.sucuri.net/scanner/

    Backup everything and put that backup somewhere safe.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Read these.

    http://codex.wordpress.org/FAQ_My_site_was_hacked
    http://wordpress.org/support/topic/268083#post-1065779
    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
    http://ottopress.com/2009/hacked-wordpress-backdoors/

    Good luck.

  3. HopefulGJL
    Member
    Posted 2 years ago #

    Thank-you so very much for all of the information!

    As far as the site is concerned, I had my hosting company delete the entire site and then restore it to a back-up I had months before the issue appeared.
    I do, thankfully, regularly make back-ups.
    I'll read over the info you've provided here, but I'm pretty certain that it should be OK now because of the deletion and restoration activities.

    And, I have just realized why I wasn't seeing a delete option for the default admin account. It's always the simple things we miss, isn't it? I (obviously) needed to log out of that default admin account and then log in to my newly created admin account with the unique user name. Then, I was able to delete the default admin account.

    Thanks again!

  4. Thank-you so very much for all of the information!

    You're welcome! I'm glad anytime I can cut and paste old replies. It's like recycling. :D

    Read up on those articles and make sure you're up to date software wise. Restoring a backup might leave you vulnerable still. (Good job on backups BTW, many people miss that important step.)

Topic Closed

This topic has been closed to new replies.

About this Topic