WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it correct or ok to change default admin user id from 1 to any other number as done by better-wp-security plugin for wordpress for better security? what is best way for admin security. Thanks

share|improve this question

You can change the original user to a non-admin, but I would not modify the admin users ID in the database to another ID, as this ID is referenced in numerous places, such as in the posts table to indicate the author, custom meta, user meta, etc

Instead, consider marking the admin as a subscriber, and reassigning the posts to a brand new user.

TLDR yes it will improve security, but mainly because you cant hack a site if it's completely broken

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.