26 Dec 2025 · 4 min read · DelhiHosting Team
Locked out of WordPress? There are several reliable ways back in, from the standard email reset to database-level recovery when email isn’t working.
On the login page, click "Lost your password?", enter your username or email, and follow the link sent to you. This is the quickest route when your site can send email.
If email fails, open phpMyAdmin in cPanel, find the users table, and update the password field (using the MD5 function) for your account. This forces a new password directly.
Advanced users can add a temporary admin account through a small snippet in the theme’s functions file, then log in and tidy up. Always remove the snippet afterwards.
Use the email reset when you can; when you can’t, phpMyAdmin lets you set a new password directly in the database.
Our Delhi-based engineers set up, secure and speed up WordPress for you — free migration included.