FREE tools

Mastering the Reset: How to Reset WordPress Admin Password in Minutes

Lukas Fuchs vor 10 Monaten 3 Min. Lesezeit

If you've forgotten your WordPress admin password, don’t panic! This guide offers quick and straightforward methods to regain access to your site.

Why You Might Need to Reset Your WordPress Admin Password

Forgetting the admin password of your WordPress site can be frustrating, but it's a common issue. Whether you’ve just started your WordPress journey or you’ve been managing your site for years, there are different reasons you may need to reset your password, such as:

  • You simply forgot your password.
  • Your password was compromised.
  • You’re managing a site for someone else and need a new password.

1. How to Reset WordPress Admin Password via the Login Page

WordPress provides an easy way to reset your password directly from the login page. Here’s how to do it:

  1. Go to your WordPress login page (usually yoursite.com/wp-admin).
  2. Click on the Lost your password? link.
  3. Enter your username or email address associated with your account.
  4. Check your email for a reset link. Follow the link provided in the email.
  5. Enter and confirm your new password. Click on Reset Password.

If you don’t receive the email, check your spam folder and ensure your registered email address is correct.

2. Resetting WordPress Admin Password via phpMyAdmin

If you can’t access your email or the login page, you can reset your password using phpMyAdmin. This method is ideal for experienced users who have database access:

  1. Log in to your hosting control panel (like cPanel or Plesk).
  2. Navigate to phpMyAdmin under the databases section.
  3. Select the WordPress database from the left sidebar.
  4. Locate the wp_users table (the prefix might differ if you changed it during installation).
  5. Find your admin username in this table and click on the Edit link.
  6. Under the user_pass field, select MD5 from the function dropdown.
  7. In the Value field, type in your new password.
  8. Hit the Go button to save your changes.

You can now log in with your new password!

3. Resetting the WordPress Admin Password via FTP

If all else fails, you can reset your password through FTP by adding a code to your theme’s functions.php file:

  1. Connect to your site using an FTP client (like FileZilla).
  2. Navigate to /wp-content/themes/your-active-theme/.
  3. Open the functions.php file for editing.
  4. Add the following code at the end of the file:
  5. function reset_admin_password() {
        $user = 'admin'; // change this to your username
        $pass = 'new_password'; // change to your new password
        if (username_exists($user)) {
            $user_id = username_exists($user);
            wp_set_password($pass, $user_id);
        }
    }
    add_action('init', 'reset_admin_password');
    
  6. Save the file and upload it back to your server.
  7. Visit your site once to execute the code and reset the password.
  8. Remove the added code from the functions.php file after successfully logging in to avoid security risks.

4. Using a Password Recovery Plugin

For users who want a more straightforward approach, installing a password recovery plugin can be helpful. Popular plugins like WP Reset and Password Protected add recovery options directly to your WordPress admin dashboard.

  1. Install and activate the chosen plugin.
  2. Follow the plugin’s specific instructions for resetting your password.

5. Preventive Measures for the Future

Once you regain access to your admin account, consider implementing the following practices to avoid future password issues:

  • Enable two-factor authentication for added security.
  • Create a password manager to store and manage your passwords securely.
  • Regularly update your passwords and avoid using simple or default passwords.

Conclusion

Resetting your WordPress admin password doesn’t have to be a headache. Whether you use the built-in recovery options, phpMyAdmin, FTP, or a password recovery plugin, you can easily regain access to your site. By following the preventive measures after resetting your password, you can reduce the chances of future issues. Keep your site secure and always remember to create strong, unique passwords!

Weitere Beiträge

Folge uns

Neue Beiträge

Beitrag

Using a 404 Error Checker

AUTOR • Apr 23, 2026
Beitrag

Outlook automatisch starten in Windows 11: Eine Schritt-für-Schritt-Anleitung

AUTOR • Apr 23, 2026
Beitrag

How to Format Your Text With Markdown Quotes

AUTOR • Apr 23, 2026
Beitrag

Free WordPress Editor

AUTOR • Apr 23, 2026
Beitrag

How to Fix the Empty Reply From Server Error

AUTOR • Apr 23, 2026
Beitrag

Can't PreventDefault Inside Passive Event Listener

AUTOR • Apr 23, 2026
Beitrag

How to Fix a "F.TXT Js" Problem

AUTOR • Apr 23, 2026
Beitrag

How to Remove the Player Location Check Plugin

AUTOR • Apr 23, 2026
Beitrag

Scan Website For Broken Links

AUTOR • Apr 23, 2026
Beitrag

Pagelayer Vs Elementor - Which WordPress Theme Should You Choose?

AUTOR • Apr 23, 2026
Beitrag

Hochgestellte Zahlen ganz einfach eingeben: Die besten Tastenkombinationen

AUTOR • Apr 15, 2026
Beitrag

So nutzen Sie CMD, um Geräte im Netzwerk anzuzeigen

AUTOR • Apr 15, 2026
Beitrag

Die richtigen Firewall-Ports für WSUS: So konfigurieren Sie Ihre Sicherheitsrichtlinien

AUTOR • Apr 15, 2026
Beitrag

Das perfekte Energie Dashboard: Home Assistant individuell anpassen

AUTOR • Apr 15, 2026
Beitrag

So kopierst du Tabellen in Word mit der richtigen Formatierung

AUTOR • Apr 15, 2026
Beitrag

Smileys in Word Einfügen: So geht's einfach und schnell!

AUTOR • Apr 15, 2026
Beitrag

Home Assistant auf Ubuntu installieren: Schritt-für-Schritt-Anleitung

AUTOR • Mar 26, 2026
Beitrag

Excel: Zellen bis zum Ende markieren – So gelingt’s mühelos!

AUTOR • Mar 26, 2026
Beitrag

Die ultimative Anleitung zu WLED und Home Assistant: So integrierst du deine LED-Streifen

AUTOR • Mar 26, 2026
Beitrag

Die umfassende Outlook Symbol Übersicht: Verstehen und Nutzen

AUTOR • Mar 26, 2026

Beliebte Beiträge

Beitrag

So änderst du die Zeit des Sperrbildschirms in Windows 11 – Ein umfassender Guide

AUTOR • Jun 27, 2025
Beitrag

Outlook Konto gesperrt? So behebst du das Problem schnell und einfach!

AUTOR • Jun 19, 2025
Beitrag

optimal-website-performance-seo-checker-audit-guide-xdb

AUTOR • Feb 08, 2024
Beitrag

So integrierst du die Home Assistant App auf Windows – Eine Schritt-für-Schritt-Anleitung

AUTOR • Dec 15, 2025
Beitrag

Wie du Home Assistant Token richtig nutzt: Ein umfassender Leitfaden

AUTOR • Jun 14, 2025
Beitrag

Word Seiten ausblenden: So funktioniert's einfach und schnell

AUTOR • Jun 14, 2025
Beitrag

Tastaturbelegung ändern in Windows 11: So einfach geht's!

AUTOR • Jun 23, 2025
Beitrag

Excel: Zellen nach Farbe wertvoll machen – Mit diesen Tricks wird's einfach!

AUTOR • Jun 18, 2025
Beitrag

So fügen Sie einen Haken in Outlook ein – Schritt-für-Schritt-Anleitung

AUTOR • Jun 27, 2025
Beitrag

Wie du dein Google Konto Altersbeschränkungen bestätigen kannst

AUTOR • Jun 12, 2025
Beitrag

Die ultimative Anleitung zur Home Assistant Dokumentation in Deutsch

AUTOR • Jun 14, 2025
Beitrag

So formatierst du FAT32 unter Linux: Eine Schritt-für-Schritt-Anleitung

AUTOR • Jun 27, 2025
Beitrag

How to Use Friendly Captcha

AUTOR • Feb 22, 2024
Beitrag

Der Fully Kiosk Browser für Home Assistant: Eine umfassende Anleitung auf Deutsch

AUTOR • Jan 14, 2026
Beitrag

Node-RED Dashboard Aufrufen: Schritt-für-Schritt-Anleitung für Einsteiger

AUTOR • Jun 14, 2025
Beitrag

Die besten Schritte zur Installation des Realtek WLAN Treibers unter Windows 11

AUTOR • Jun 23, 2025
Beitrag

UTF-8 und Umlaute: Alles, was Sie wissen müssen

AUTOR • Apr 12, 2025
Beitrag

Pseudocode Beispiel: Effektives Programmieren leicht gemacht

AUTOR • Sep 27, 2024
Beitrag

Die besten Methoden zum Virus entfernen: So bleibst du sicher im Netz

AUTOR • Jun 25, 2025
Beitrag

So installierst du den ComfyUI Manager: Eine Schritt-für-Schritt-Anleitung

AUTOR • Jun 17, 2025