Recuperar accés via FTP

Passa.

De vegades passa que la contrasenya se’n va a norris i no podem accedir.

I també que, jsutament aquesta vegada, l’enviament de mails del WordPress no opera correctament.

Com recuperar l’accés?

Aquí una opció:


Through FTP Through FTP

There is also an easy way to reset your password via FTP, if you’re using the admin user.

  1. Login to your site via FTP and download your active theme’s functions.php file.
  2. Edit the file and add this code to it, right at the beginning, after the first <?php:
wp_set_password( 'password', 1 );

Enter your own new password for the main admin user. The “1” is the user ID number in the wp_users table.

  1. Upload the modified file back to your site.
  2. Once you are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do so.

Però no és la nostra única opció. Aquí encara hi ha més alternatives…

Resetting Your Password