Wordpress: réinitialiser le mot de passe administrateur - comment cela fonctionne
Si vous avez oublié votre mot de passe administrateur Wordpress, c'est plus que gênant. Vous pouvez lire comment réinitialiser le mot de passe dans cette astuce pratique.
Blog Wordpress: réinitialiser le mot de passe administrateur
Comment réinitialiser votre mot de passe administrateur Wordpress:
- Ouvrez le navigateur FTP, tel que WinSCP ou FileZilla.
- Connectez-vous à votre serveur et accédez au répertoire principal de WordPress.
- Ouvrez le fichier "wp-config.php" et ajoutez ce qui suit après "": wp_set_password ('NewPasswort', 1);
- Vous pouvez ajuster "NewPassword" comme vous le souhaitez. Le "1" représente l'ID utilisateur, c'est-à-dire l'administrateur.
- Connectez-vous à l'interface d'administration avec ce mot de passe, puis modifiez le mot de passe. Vous pouvez ensuite supprimer la ligne du fichier.