• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Baguiowebs

Baguiowebs

Learn WordPress. Build Your Own Site.

  • Contact
  • Build a Site
  • WP Training
  • Library
  • Signup
  • Login
  • Contact
  • Build a Site
  • WP Training
  • Library
  • Signup
  • Login

How to Remove User ID 1 and Why

Hi, Login
X

Join Us Forgot Password?

to view this video. Not a member? Join Now!

As shown in video above, paste these 3 lines into the SQL section of your cPanels phpMyAdmin – in the correct database.

UPDATE wp_users SET id = 1024 WHERE id = 1;
UPDATE wp_usermeta SET user_id = 1024 WHERE user_id = 1;
UPDATE wp_posts SET post_author = 1024 WHERE post_author = 1;

Also make sure the database table prefix is correct in case you have changed it from wp_ to something else. If you have changed it to something else, then make the correct changes in these 3 lines – replacing wp_ with what you changed yours to.

Filed Under: WordPress Security

Primary Sidebar

Section 7

WordPress Security

Essential Security Setups

  • Backup WordPress File and Database8:40min
  • Secure Your Computer – Security Begins at Home2:41min
  • Easy Steps to Install a Secure WordPress Site5:05min

Login Page & Admin Info

  • Remove User ID 1 & Why5:14min
  • Customizing The Login Error Messages2:53min
  • Blocking Hackers From Seeing Admin Usernames5:04min
  • Removing The WordPress Version Numbers4:03min
  • How to Hide All Usernames7:08min
  • Allowing Others To Work On Your Site5:42min

Site Files, Hosting, & Database

  • Replace The Salt2:33min
  • Securing Your wp-config.php File2:52min
  • Secure Hosting Services4:02min
  • Change DB Prefix After Install Method 15:51min
  • Change DB Prefix After Install Method 24:57min

Prevent Brute Force Attacks

  • Prevent Brute Force Attacks Method 14:14min
  • Prevent Brute Force Attacks Method 24:00min
  • Prevent Brute Force Attacks Method 35:41min

Identify a Hacked Site

  • Has Your Site Been Hacked3:01min
  • Hacked Site Cleanup3:34min
  • What To Do After Hacked Site Cleanup2:30min

Copyright © 2021 Baguiowebs. All Rights Reserved.

  • About
  • Disclaimer
  • Privacy Policy
  • Terms
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkNoPrivacy policy