Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coupe WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Comment désactiver toutes les extensions lorsqu’on ne peut pas accéder à WP-Admin

Note éditoriale : Nous percevons une commission sur les liens des partenaires sur WPBeginner. Les commissions n'affectent pas les opinions ou les évaluations de nos rédacteurs. En savoir plus sur Processus éditorial.

Vous devez désactiver toutes les extensions WordPress, mais vous ne pouvez pas accéder à la zone d’administration de WordPress ?

Lors d’un dépannage WordPress, il vous sera souvent conseillé de désactiver toutes les extensions puis de les réactiver une à une. Mais que faire si vous ne pouvez pas accéder à wp-admin pour les désactiver ?

Dans cet article, nous allons vous afficher comment désactiver facilement toutes les extensions WordPress lorsque vous ne pouvez pas accéder à la zone wp-admin.

Deactivating all WordPress plugins without accessing admin area

Tutoriel vidéo

Subscribe to WPBeginner

Si vous préférez les instructions écrites ou si vous voulez avancer à votre propre rythme, continuez à lire les instructions ci-dessous.

Il existe deux méthodes couramment utilisées pour désactiver des extensions sans accéder à la zone d’administration de votre site WordPress. Vous pouvez choisir la méthode qui vous semble la plus facile :

Méthode 1 : Désactiver toutes les extensions WordPress par FTP

Pour cette méthode, vous devrez utiliser soit un client FTP, soit l’application de gestion de fichiers dans le panneau de contrôle de votre hébergeur WordPress.

Si vous n’avez jamais utilisé le protocole FTP, vous pouvez consulter notre guide sur l’utilisation du protocole FTP pour téléverser des fichiers sur WordPress.

Tout d’abord, vous devez vous connecter à votre site à l’aide d’un client FTP ou du gestionnaire de fichiers de cPanel. Une fois connecté, vous devez naviguer jusqu’au dossier /wp-content/.

Dans le dossier wp-content, vous trouverez un dossier appelé plugins. C’est là que WordPress stocke toutes les extensions installées sur votre site.

Rename plugins folder

Vous devez cliquer avec le bouton droit de la souris sur le dossier des extensions et sélectionner « Renommer ».

Ensuite, modifiez le nom du dossier pour qu’il porte le nom de votre choix. Dans notre exemple, nous l’appellerons plugins.deactivate.

Plugin folder renamed to deactivate all plugins

Une fois cette opération effectuée, toutes vos extensions seront désactivées.

En effet, WordPress recherche un dossier appelé « plugins » pour charger les fichiers d’extension. Lorsqu’il ne trouve pas ce dossier, il désactive automatiquement les extensions activées dans la base de données.

En général, cette méthode est utilisée lorsque vous êtes bloqué dans votre zone d’administration. Si le problème est lié à vos extensions, vous devriez pouvoir vous connecter à la zone d’administration de WordPress.

Si vous visitez la page Plugins  » Installed Plugins à l’intérieur de la zone d’administration de WordPress, vous verrez des notifications pour toutes les extensions qui ont été désactivées.

WordPress plugins deactivated

Vous remarquerez également que toutes vos extensions ont disparu. Ne vous inquiétez pas, ils sont tous en sécurité et vous pouvez facilement les restaurer.

Il vous suffit de revenir à votre client FTP et d’aller dans le dossier /wp-content/. À partir de là, vous devez renommer le dossier plugins.deactivate en plugins.

Vous pouvez maintenant retourner à la page « Plugins » « Installed Plugins » dans la zone d’administration de WordPress et activer une extension à la fois jusqu’à ce que votre site s’arrête à nouveau.

À ce stade, vous saurez exactement quelle extension est à l’origine du problème. Vous pouvez alors supprimer le dossier de cette extension de votre site à l’aide du FTP ou demander le support de l’auteur/autrice de l’extension.

Méthode 2 : Désactiver toutes les extensions à l’aide de phpMyAdmin

La méthode FTP est certainement plus facile, à notre avis. Cependant, vous pouvez également désactiver toutes les extensions WordPress à l’aide de phpMyAdmin.

Important : Avant toute chose, veuillez effectuer une sauvegarde complète de la base de données. Cela vous sera utile en cas de problème.

Ensuite, vous devez vous connecter au tableau de bord de votre hébergeur. Dans cet exemple, nous vous affichons un tableau de bord cPanel. Le tableau de bord de votre hébergeur peut être différent.

Vous devez cliquer sur l’icône « phpMyAdmin » sous la section Bases de données.

phpMyAdmin in cPanel

Ceci lancera phpMyAdmin dans une nouvelle fenêtre du navigateur.

Vous devrez sélectionner votre base de données WordPress si elle ne l’est pas déjà. Après cela, vous pourrez voir les tables de la base de données WordPress.

WordPress database tables

Comme vous pouvez le voir, toutes les tables de la base de données ont le préfixe wp_ avant le nom de la table. Vos tables peuvent avoir un préfixe de base de données différent.

Vous devez cliquer sur le tableau wp_options. À l’intérieur du tableau wp_options, vous verrez des lignes de différentes options. Trouvez l’option ‘active_plugins’ et cliquez sur le lien ‘Modifier’ à côté.

Editing active plugins option

Dans l’écran suivant, vous devrez modifier le champ option_value en a:0:{}.

Cliquez ensuite sur le bouton « Go » pour enregistrer vos modifications.

Reset active plugins

Vous avez bien désactivé toutes les extensions WordPress en utilisant phpMyAdmin. Si une extension vous empêchait d’accéder à l’administration de WordPress, vous devriez pouvoir vous connecter maintenant.

Guides d’experts sur les extensions WordPress

Maintenant que vous savez comment désactiver des extensions lorsque vous ne pouvez pas accéder à wp-admin, vous aimerez peut-être consulter d’autres guides liés aux extensions WordPress :

Nous espérons que cet article vous a aidé à désactiver toutes les extensions sur WordPress. Vous pouvez également apprendre à configurer les objectifs de Google Analytics ou consulter notre liste des meilleurs plugins de sauvegarde WordPress pour garder vos données WordPress en sécurité.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

338 commentairesLaisser une réponse

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    Thank you for the instructions using phpMyAdmin. I was always used to deactivating plugins via FTP, but it’s great to know other options in case I can’t access FTP. Great job.

  3. Alan says

    I tried to deactivate my plugins using the FTP process on WordPress version 6.3, and the website crashed.

    I was able to rename the plugins file and restart it okay. Just letting you know.

    • WPBeginner Support says

      Thank you for letting us know, it would depend on the specific error message for what could have happened but glad to hear you were able to fix the issue!

      Administrateur

  4. Nick says

    In the article it says;
    On the next screen, you will need to change the option_value field to a:0:{.

    Which I think should be a:0:{}

  5. Tamara says

    I have changed the file name in FTP as suggested and am able to log into the WordPress admin, but as soon as I change the file name back to the original, the error comes back. Which means I am not able to deactivate / reactivate plugins one at a time.

    Can you help?

    • WPBeginner Support says

      In that case, you would want to use the second method from the article and that should force the plugins to deactivate.

      Administrateur

  6. Dr. Ashutosh Pradhan says

    Thanks a lot for the information. I had activated Google reCaptcha v3 in Ultimate Member and was not able to login to the wp-admin using super admin details. I just renamed the directory recaptcha under directory plugin from FTP and the trick worked, it allowed me to login and disable Google reCaptcha v.3 from dashboard. Thanks a ton.

  7. Carol J Dunlop says

    Thank you for this post and all the options. I did the PHPmyadmin one before but this time I just renamed the plugin file in cpanel. So much easier and faster and it triggered a « database repair » notice. I did that and found that my Options table had crashed. I renamed the plugins file back to the original and ran the repair database again and it worked fine!

  8. Jeroen says

    I had a problem with my Jetpack plugin after I upgraded my PHP and WP. It would not let me deactivate or delete it. I went in the WP plugin folder and renamed the Jetpack plugin folder. Refreshed the plugin admin page in WP and Bob’s your uncle! I deleted the plugin through the admin panel and removed the folder from the root.

  9. Katy Espiritu says

    It solved my problem. I was able to log in to the admin site of word press again. Thank you so much. You are a blessing.

  10. Tom says

    Hi, I did not install any plugins recenty, the only thing i did I changed the email.When I finished the process few hours later I could not enter The Dasboard (Sorry, you are not allowed to access this page). Any solutions Ty

  11. Steph says

    Unfortunately, both of these options did not help (still get error saying site is experiencing technical difficulties) after doing a plugin update (also updated wordpress 5.4 yesterday? could that be the culprit?)

  12. Aditi Pygude says

    Hello,

    I need a help. whenever i tried to access my website I got download option. I tried your all above suggestions but it’s was’nt work for me. I renamed my plugin folder in my cpanel as plugin.deactivate after that I did changes in phpmyadmin in wp-options I edited active plugin folder . still I got download option. what should I do now .
    Thanks in advance.

  13. anurag saxena says

    Hello , tried your suggestion but i am unable to alogin into my wordpress admin area.any other suggestion?this is emergency.

  14. Jerry says

    I want to install the Yoast SEO plugin in wordpress. After I do that I need to Deactivate the plugin currently used, correct? I am new to working with WordPress and I need to do this on my own since the guy that made my website abandoned helping me any further! Any Help would be so Much appreciated! Thanks!

    • WPBeginner Support says

      You would only need to remove your other plugin if it is an SEO plugin. If it is then you would want to remove it to prevent some common issues.

      Administrateur

  15. Megan says

    Omg! You guys saved the day! Thank you so much! After I have spent so much time trying to get my site fixed your easy to follow guide had it fixed in minutes. So thank you!

  16. Aluko Kehinde says

    Hi,

    When I go to my website or the wp-admin page, my browser tries to download a file instead of displaying the page.

    • WPBeginner Support says

      If disabling your plugins didn’t help, you would want to reach out to your hosting provider and they should be able to assist with that issue

      Administrateur

  17. Mig Hu says

    Thanks a lot – this is a site saver!

    Quick question: after the plugin folder is renamed, when go back in the wordpress WP – admin back office plugins list, is it safe to delete such plugin (which folder has been renamed), or will this action be harmful?

    Many thanks!

    Mig

    • WPBeginner Support says

      Using the delete method inside your WordPress site would be the best method for removing that plugin permanently as it will go through the uninstall steps of the plugin.

      Administrateur

  18. DM says

    Which FTP program is for free and it is good to down load without giving the full permissions to take over your computer s full admin.?

  19. William says

    Great Stuff! I used the 2-factor authentication plug-in, and could not login to my wordpress dashboard anymore. Your ftp solution solved it 100%.

  20. sofea says

    hi

    why i cannot sign in to wordpress admin of my subdomain?

    it appears IP Options -ExecCGI

    on my site. can u solve my problem?

    • WPBeginner Support says

      For that message, you would want to reach out to your hosting provider and they should be able to help you fix it :)

      Administrateur

  21. George says

    Hello,
    My Word Press site displays normally to visitors but I am getting the WSoD on the WP-Admin login page.

    I have tried increasing WordPress Memory to 512Mb and I have tried disabling all plugins. Neither seem to have helped.

    I checked and the site was still loading normally but with all the plugins clearly not running. But I get the WSoD when I try to login as admin

    I re-activated plugins and everything went back to normal for visitors.

    Have you any suggestions what to try next?

  22. Tam says

    I’M NOT A DEVELOPER – Please help!

    I was having issues logging into wordpress so I deactivated all plugins in cPanel phpMyAdmin. Now, I cannot find my active plugins in wp-option/option name. When I look in wp-content there is a plugins.bak file which shows all of my installed plugins. How do I reactivate them?

  23. meena says

    Hi

    I deactivated all the plugins by changing the ‘plugin’ name in FileZilla. But the problem is I can’t enter my website at all to see what plugins aren’t working. This is what comes up when I try to login: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas17_datahtml/wp-config.php:1) in /home/content/p3pnexwpnas17_data0/html/wp-includes/pluggable.php on line 1223

    please help me! thanks!

  24. meena says

    Hi

    Through Godaddy, I have an sftp so it didn’t work with. When I changed the protocol to sftp ssh file transfer a dialogue appeared saying ‘the server key is unknown…….do you want to trust it …etc’ what do I do?
    Thanks!

    • WPBeginner Support says

      It is letting you know you have not used that key before, if you reach out to your hosting provider with the information they can confirm the key is for them

      Administrateur

  25. Kieron says

    This was a big help. Renaming the plugin directory did the trick for me and once I located the problematic plugin all is well. Thanks for the info.

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.