FREE tools

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

Lukas Fuchs vor 1 Jahr Webdesign & UX 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

Datenbanken & ORM

CSV-Symbole: Ihr vollständiger Leitfaden zur Verwendung, Auswahl und Gestaltung

AUTOR • Jul 26, 2026
Webdesign & UX

Zeilenumbruch Code: So setzt du Zeilenumbrüche in HTML, Markdown, JavaScript und CSS richtig

AUTOR • Jul 26, 2026
Webdesign & UX

Excel wenn Farbe Wert: So prüfst du Zellfarben und gibst Werte gezielt aus

AUTOR • Jul 25, 2026
Webdesign & UX

Android Collage erstellen: So baust du in Minuten starke Foto-Collagen auf deinem Smartphone

AUTOR • Jul 24, 2026
DevOps & Deployment

Datensicherung externer Festplatte: So schützt du deine Daten wirklich

AUTOR • Jul 24, 2026
Performance & SEO

Ungleich in Excel Formel: So prüfst du Werte sauber und schnell

AUTOR • Jul 24, 2026
Performance & SEO

Excel verbundene Zellen trennen: So löst du Verbundene Zellen schnell und sauber

AUTOR • Jul 24, 2026
Webdesign & UX

Klammer in Word: So setzt, änderst und löst du jede Klammer sauber

AUTOR • Jul 24, 2026
DevOps & Deployment

Mac virtuelle Maschine Windows: So läufst du Windows auf dem Mac ohne Chaos

AUTOR • Jul 24, 2026
Performance & SEO

Beschriftung in Word: So erstellst du saubere Etiketten, Labels und Tabellen schnell

AUTOR • Jul 24, 2026
Webdesign & UX

Intro kostenlos erstellen: So machst du starke Einleitungen ohne Budget

AUTOR • Jul 24, 2026
Datenbanken & ORM

MongoDB vs Postgres Geschwindigkeit: Was ist wirklich schneller?

AUTOR • Jul 23, 2026
Datenbanken & ORM

SQL SELECT MAX: So findest du in Sekunden den größten Wert in deiner Tabelle

AUTOR • Jul 23, 2026
Backend-Entwicklung

Perl: Was die Sprache heute noch kann und warum sie für Entwickler relevant bleibt

AUTOR • Jul 23, 2026
Full-Stack

Rahmenwerk: So baust du ein System, das bessere Entscheidungen und Ergebnisse liefert

AUTOR • Jul 23, 2026
APIs & Microservices

MSI Datei öffnen, installieren und verstehen: So nutzt du sie richtig

AUTOR • Jul 23, 2026
Webdesign & UX

Family Link iPhone installieren: So richtest du die Kindersicherung sauber ein

AUTOR • Jul 23, 2026
Webdesign & UX

Datum Uhrzeit automatisch einstellen nicht möglich: Ursachen und schnelle Lösungen

AUTOR • Jul 23, 2026
Webdesign & UX

Google Maps Markierung Icon: So findest du das richtige Symbol für mehr Sichtbarkeit

AUTOR • Jul 23, 2026
Webdesign & UX

Symbole Desktop anzeigen: So blendest du Desktop-Icons schnell wieder ein

AUTOR • Jul 23, 2026

Beliebte Beiträge

Webdesign & UX

Was tun, wenn dein Instagram-Account gesperrt ist?

AUTOR • Jul 29, 2025
DevOps & Deployment

Linux RDP: Effizientes Remote Desktop Protokoll für Ihre Systeme

AUTOR • Jul 16, 2025
DevOps & Deployment

SSH Aktivierung unter Debian 12: Schritt-für-Schritt Anleitung

AUTOR • Jul 16, 2025
Webdesign & UX

Die besten Tipps zum Archivieren von Instagram-Beiträgen: So geht’s richtig!

AUTOR • Jun 23, 2025
DevOps & Deployment

MacBook Pro zurücksetzen: Schritt-für-Schritt-Anleitung für ein frisches System

AUTOR • Jun 20, 2025
Backend-Entwicklung

CSV Beautifier: Transforming Data for Effortless Analysis

AUTOR • May 06, 2026
Webdesign & UX

Der große Vergleich: Aluprofil Typen und ihre Unterschiede

AUTOR • Jul 27, 2025
DevOps & Deployment

Feste IP-Adresse unter Ubuntu: So geht's ganz einfach!

AUTOR • Jul 16, 2025
Frontend-Entwicklung

Die bedeutendsten Ursachen für den Fehler "require nicht definiert" in JavaScript

AUTOR • Jul 02, 2025
Webdesign & UX

Excel Zellen mit bestimmten Inhalten zählen: So geht's!

AUTOR • Jul 01, 2025
Webdesign & UX

Die besten Safari Erweiterungen für iOS: Optimieren Sie Ihr Surfen

AUTOR • Jun 29, 2025
Performance & SEO

Effizientes Zeit Addieren in Excel: So funktioniert's!

AUTOR • Jun 27, 2025
Webdesign & UX

Der vollständige Leitfaden zu Hyperlinks in Outlook: So erleichtern Sie Ihre Kommunikation

AUTOR • Jun 27, 2025
Webdesign & UX

Die besten Word-Such-Shortcuts für effizientes Arbeiten

AUTOR • Jun 27, 2025
Webdesign & UX

Optimale Nutzung von SharePoint Teams Sites für effizientes Projektmanagement

AUTOR • Jun 27, 2025
Datenbanken & ORM

Die Kraft von NCQ: Optimierung von Datenspeichern für maximale Leistungsfähigkeit

AUTOR • Jun 26, 2025
DevOps & Deployment

So legen Sie den Standardbrowser unter Windows 10 und 11 fest – Eine Schritt-für-Schritt-Anleitung

AUTOR • Jun 26, 2025
Backend-Entwicklung

Die besten Authentifizierungsmethoden für maximale Sicherheit

AUTOR • Jun 26, 2025
Datenbanken & ORM

TeamViewer Datenbankfehler: Ursachen, Lösungen und Tipps zur Vermeidung

AUTOR • Jun 24, 2025
Webdesign & UX

Tipps zur Behebung von fehlendem Sound in Google Chrome

AUTOR • Jun 24, 2025