The safest way:
- Create a second user account, and assign it to the admin user role.
- Login as the user you just added
- Modify the original admin account. Delete it, or (my preference, especially if the username is “admin”) change the user role to subscriber
Related Posts:
- Setting admin edit panels & metaboxes positions and visibility for ALL users and admins
- Can an admin check passwords of registered users?
- How to obtain the user ID of the current profile being edited in WP-Admin?
- Hide update messages from non-admin users?
- How to remove “Super Admin” from All Users for those that are not a “Super Admin”?
- Add extra field when admin create user
- Add a custom column in users list page
- Customize Admin Users Screen based on Role
- Make certain pages uneditable by editors?
- wp-admin: Sort users by surname
- Add User meta fields, which only admin can edit
- How to display only logged in user’s post comments in comments area
- Add Admin User via SQL
- Can you have the users list pre sorted by specific column?
- How to remove Gravatar from Username column
- How do I enable new account notification emails (to the administrator)?
- In administration, how do I display comments of a certain user?
- New users must comment when requesting username
- user-new.php less detailed after WP3.1; how to revert?
- $user_id vs. is_user_logged_in()
- Get current logged in user under 3.1, re: remove “Howdy”
- Manage users custom column add class “num”
- Hide one admin from another admin
- How can I make the user names of commentors clickable links to the user’s profile from the admin comment screen?
- Keep Logged in Users out of Admin Panel
- Shared account / dual blogging in WordPress
- I’m a super admin and I want to give an admin the ability to add new users…?
- Redirect admin 403 “Cheatin uh?” admin pages
- Given multiple admin accounts, how can I make it so that only admin with X username can edit posts
- How should I setup the “Users” area to hand over to a client?
- How to show a custom notification to a specific user?
- Want to know who is login Admin/User
- Control Users listed in Users List on dashboard
- Prevent Registration Where Role is None?
- Extending the user profile [closed]
- Hide top admin panel for non admin and non editors
- When admin approves a registered user, I don’t want to send a notification email to users
- Is it possible to create a custom admin page for users?
- Custom redirection when managing users in admin
- Different role for free and pro users in wordpress without using bbpress
- You do not have permission to access this document on form submit
- Add a user to edit the layout of a site
- Where in WP can I check history or log of updates of plugins etc?
- How does admin-ajax.php work?
- Hide other users’ posts in admin panel
- Editor Styles and Typekit
- WordPress admin stylesheet
- Is it possible to create a WordPress tour? V3.3.1
- Securing Admin Accounts – Username Discovery
- Set Featured Image programmatically (in admin) with JavaScript?
- Can I set a default dashboard layout for all users?
- Taxonomy/category hierarchy lost when editing posts [closed]
- Making the thumbnails in the backend Media section bigger
- Setting Login with User Name and Password default option for Jetpack Admin Login
- Downloading entire site locally with httrack
- add_submenu_page set for multiple roles [duplicate]
- How To Create User Specific Admin User Pages?
- Adding markup to column text in “Edit Pages” admin page
- Disable HTML (Text) Tab in Post Editor
- How to remove “publish metabox” from each post type
- Change home-url in dashboard
- Admin doesn’t have sufficient permissions to plugin’s page
- Admin multiple column sorting
- Adding html format on tinymce visual editor
- How can I show the contents of only a few users
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- Locked out of admin and some pictures don’t show after failed SSL installation
- Add Custom Script in Other Plugin’s Options page
- I can’t access the login panel on my offline website
- Admin login not working
- Adding and removing columns from the admin pages panel
- paginate_links on custom query in admin – ‘sufficient permissions’ error
- Hide admin notice when user profile updated
- WordPress Screen options does not show any fields
- Locked out of WordPress website from wrong amount of login attempts
- admin edit link from a specific page
- Set Link Target Checkbox chcked on Edit Image MOdal Window in Admin Post Edit Screen?
- Help! I changed the domain and now I can’t log in via admin online
- Remove specific administrator’s capability
- Admin user roles/permissions
- [Multisite]How can I update custom blog option?
- Top toolbar is not showing in wordpress admin panel
- wordpress – add a custom admin section with fields for name, address, city,state, and photo upload
- Gutenberg UI has changed
- How To Remove Import/Export Option From Tools?
- Highlight active Admin Menu when added though add_menu_page
- Create WordPress Menu Item Without Linking to a Custom Page
- Is Post-Form Resubmission somehow prevented in WordPress 4.2.2?
- Enqueue script throws error in console
- How to sort post_meta in edit.php?
- Scripts are not called until I login from wordpress backend
- Link to all posts page?
- WP Logs me out after updating anything on dashboard
- Adding additional text fields and image upload to a Page?
- plugin to upload to youtube via wordpress [closed]
- How to fix: Clicking ‘Quick Edit’ link in Admin (edit.php) makes posts disappear?
- WordPress admin panel is blank
- Use the wordpress admin table
- deploying a standard build of wordpress in WHM/cPanel
- Modify ‘the_content’ appearance in the admin area