Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.