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

Avez-vous déjà eu des problèmes avec votre site WordPress, mais vous ne pouviez pas accéder à la zone d’administration pour dépanner ? C’est une expérience frustrante à laquelle de nombreux utilisateurs/utilisatrices de WordPress sont confrontés à un moment ou à un autre.

Une étape par étape du dépannage consiste à désactiver toutes les extensions, puis à les réactiver une par une. Cela aide à identifier si un conflit d’extensions en conflit est à l’origine du problème. Mais que faire lorsque vous ne pouvez même pas vous connecter à wp-admin pour effectuer cette étape importante ?

Ne vous inquiétez pas, il y a une solution. Dans ce guide, nous allons vous afficher comment désactiver toutes les extensions WordPress lorsque vous êtes bloqué hors de votre zone d’administration.

Deactivating all WordPress plugins without accessing admin area

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, changez le nom du dossier en ce que vous voulez. Dans notre exemple, nous l’appellerons plugins.deactivated.

Plugins deactivated via FTP

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.

Revenez simplement à votre client FTP et allez dans le dossier /wp-content/. À partir de là, vous devez renommer le dossier plugins.deactivated 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.

Selecting phpMyAdmin on 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.

Click at wp-options

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é.

Click the Activate_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.

Tutoriel vidéo

Subscribe to WPBeginner

Guides d’experts sur les extensions WordPress

Nous espérons que cet article vous a aidé à désactiver toutes les extensions de WordPress. Vous pouvez également consulter d’autres guides sur le dépannage des extensions WordPress :

Si vous avez aimé cet article, veuillez alors vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et 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

337 commentairesLaisser une réponse

  1. ARoibal

    I am really thankful that you posted this article. I had no idea how to fix the problem and in my case it was a plugin. Thank you!!!!

  2. Robb Dearth

    I usually don’t comment on posts like this, and I know this post is insanely old (by today’s standards) but I just wanted to thank you for this quick fix. I was able to access the /plugins folder via Media Temple’s file manager, change the folder name, and target the problem plugin… THANK YOU!!!

  3. Cindy

    I could not get into my blog at all to edit anything. I followed your directions on deleting a plug-in. That fixed it. Thank you for the info and for explaining it in a way that is easy to understand!!

  4. Jairo Levi

    Super! I was able to fix my site by renaming the Plug ins folder, then re activating the plug ins one by one.

    Just wanted to say thank you!

    Jairo.

  5. Dennis

    Hello thanks so much for the article,
    i was developing my wordpress offline using wampserver localhost.
    When i finished it worked just fine on my localhost but after uploading it i started having the issue, only the index page could load and every other page still have the offline url ( that is localhost/mysite/thepost) when i manually change the localhost url to the normal url it ought to be, i gets a 500 Internal Server Error.

    I’ve tried all method mentioned here but my problem persist.
    Please I really Need help.

    Thanks so much.

  6. Franck

    Great article! saved me a headache. Had to go through the whole process but was worth it. Now my site is back and everything up to date. Great job guys!

  7. Paolo Euvrard

    Great info, it worked!!!
    Cheers

  8. maros

    ssh:
    debian@otherland:*/wp-content/plugins$ sudo chown root:root menu-icons/
    debian@otherland:*/wp-content/plugins$ sudo chmod -R 700 ./menu-icons/
    debian@otherland:*/wp-content/plugins$

    then I reloaded “tab with server error 500” and it said to me something like plugin deactivated …files not found.

    • Brian H

      Try clearing your cookies and cache, then see if you can get into the admin panel/dashboard

  9. Lesley Parolis

    Thanks very much. It was really helpful. Deactivating the plugins solved the problem. There was one plugin which was causing the white out.

  10. Richard

    Hi. I’ve renamed the plugin folder to plugin.deactivate but still have the white screen. I was so hoping I could fix my problem as quickly and easily as other have but not as yet. Any other suggestions? Many thanks.

  11. Dwayne

    Nice article. If you know which plugin is causing the problem, can you disable just that plugin from the DB?

    • Sue Cloutier

      Yes…in the your file manager. Just did it successfully-no white death screen

  12. brian h

    You can actually do this with the theme directory as well. This is what I had to do as I had both issues, plugins behaving poorly AND a theme issue that locked me out.

    Renamed themes to themes.deactivate and it let me back in to theme management which was keeping me from going any further than dashboard PERIOD.

    Once in there it told me what theme caused the issue in detail but I still had to recreate a new directory called « themes » and copy the good themes over to it before it would let me activate a new theme!

    Hope this sheds some light on possible additional errors :)

    Brian:

  13. Al Betancourt

    Thank You! for the instructions I was able to deactivate the plug-in causing the problem

  14. Alexsandro

    Thank you very much! It works!

  15. Teejax

    Hi,

    Thanks for the good job.

    I run Wordpress on a self-hosted IIS via virtual machine.

    Unfortunately I could not rename my plugins folder, I kept getting « folder in use »

    What do I do?

    Thanks in advance.

    • John Wiley

      Turn off the World Wide Web Publishing Service while you rename the folder. IIS is reading and locking that folder open.

  16. Fareena

    Hi pls help! I have a blog on the free wordpress.com as such there is no independenthost but wordpress itself. I m unable to log on to the backend dur to 2 step authentication plugin on wordpress.
    Im trying to connect to my WP page via ftp can ypu pls confirm whether the username and password for ftp access is the same as my wordpress username password ? . At this stage I’m unable to acesss the backend and keep getting a could not connect to server error.

    I am trying to disable the 2 step authentication plugin for my site. As I no longer have the mobile sim it’s sending the verification code to. Pls help out as I’m pretty frustrated. Cheers

  17. jean jacques amani

    please help me!
    there is 4 days i can access my wp pannel even by FTP using filezila.
    day before i open my wp pannel and saw one plugin need an update. i’ve did the automatical updade and since my website don’t pass.
    i can’t access the directory to deactive the plugin.
    i’ve followed the step you said using phpMyAdmin but can’t find « active plugin » in wp-option
    please help me

    • WPBeginner Support

      Contact your web host to find out why you can’t access FTP. You can also access your files and folders using the file manager in cPanel (Your web hosting account dashboard).

      Administrateur

      • jean jacques amani

        first i have to thank you for your assistance.
        I’m using a free mode in my web host and this don’t allows me to interract with them.
        when i try to open my website in the browswer i get this message:

        Warning: require_once(assets/ilenframework/assets/lib/utils.php): failed to open stream: No such file or directory in /home/u673270787/public_html/wp-content/plugins/yuzo-related-post/yuzo_related_post.php on line 24 Fatal error: require_once(): Failed opening required ‘assets/ilenframework/assets/lib/utils.php’ (include_path=’.:/usr/lib/php’) in /home/u673270787/public_html/wp-content/plugins/yuzo-related-post/yuzo_related_post.php on line 24

  18. Pesa

    Great Article. Saved a lot of time troubleshooting and fixing my site. Keep up the good job.

  19. Lohith

    Thanks a lot.. Your article did the miracle to my Wordpress site which suddenly went blank :)

  20. Carla

    I know my white screen came from a bad plugin and everything went sideways when I tried to uninstall it from wp-admin. Now I’m getting the white screen and the plugin is not showing up in my cPanel….what now?

  21. Squalle

    Huge help for me this morning! I hadn’t been on my admin panel in a few days. I open it up and selected all the plugin updates and updated them all at once… big mistake. Got the WSOD and started freaking out. lol

    Then I found this article which helped immensely! Worked like a charm. I found the bad plugin and deleted it.

    Thanks for the great article!

    • Muhammad Awais Sarwar

      I have a same problem. I can open dashboard of wordpress and also home page. But when I open any other page it says This webpage has a redirect loop

      ERR_TOO_MANY_REDIRECTS
      I remmber I only delete 2 plugins. I didn’t any update. But it remains. Kindly guide me.

      • WPBeginner Support

        If you have tried deactivating all your WordPress plugins, then try this.

        Connect to your website using an FTP client. In the root directory you will find a .htaccess file. Download it to your computer. Delete the original file from your website. Visit your site’s admin area and go to Settings » Permalinks. Do not change any settings on the page, just click on the save changes button. Check your website to see if the error has resolved.

        Administrateur

        • Muhammad Awais Sarwar

          Thank you for you kind reply.
          I solved the problem last night after post here.

           »
          This is the solution and how to fix it:
          In our wp-config.php, we overwrite the given server-variables that cause the problem by adding this below your database-configuration in wp-config:

          if(isset($_SERVER[‘HTTP_X_FORWARDED_FOR’])) {
          $list = explode(‘,’,$_SERVER[‘HTTP_X_FORWARDED_FOR’]);
          $_SERVER[‘REMOTE_ADDR’] = $list[0];
          }
          $_SERVER[ ‘SERVER_ADDR’ ] = DOMAIN_CURRENT_SITE;
          $_SERVER[ ‘REMOTE_ADDR’ ] = DOMAIN_CURRENT_SITE;
          $_SERVER[ ‘HTTP_HOST’ ] = DOMAIN_CURRENT_SITE;

           »
          I saw this link.
          You all can visit it. Thank God, I was trying for three days. Thank you all of you.

  22. Martin Fuller

    Hi, I ran into this problem today. I knew the name of the plugin causing the problem and engaged a consultant.

    He had access to my cPanel. Somhow he was able to deactivate the problem plugin but would not tell me how he did it.

    Do you have any idea how he might have done it?

  23. Elaine

    Thank you. I installed a bad plug-in updated and got the white screen of death. Your clear explanation helped me restore the correct plug-ins and regain access to my site.

  24. Rhyauna

    I followed all of the steps and was able to deactivate my plugins, but when I tried to activate them again, it gave me a white screen. Not sure whats going on. Please help

    • WPBeginner Support

      You can rename the plugin folder to deactivate all plugins again. Create a new plugins folder under /wp-content/ and then download and install fresh copies of all your plugins.

      Administrateur

  25. Daniel

    Thanks a bunch, this worked directly. Was afraid it would not work.

  26. MagK

    When I got the « white screen of death », I did not even panic for a minute and instead went straight to your site, I knew I would find a solution here.
    Thank you very much for all the advice and resources you make available.

  27. Bhushan S. Jawle

    Thanks a LOT ! Saved hours of work !

  28. cherian

    Thank you
    I renamed Lock down WP Admin folder and Its working fine now
    Thank You

  29. yaser

    thank you so mach!
    i was sad and you made me happy.
    my site is now UP!

  30. mike rigley

    Thanks – killing the plugins folder via FTP worked great for me :) Now I can update them and reactivate if needed :)

    thanks
    mike

  31. Nick Karvounis

    OMG! You saved my day, I had installed a security plugin that only allowed me to login from a specific IP address and I could not log in through FTF, thank you for the php access instructions!

  32. Saurabh Gupta

    Brilliant writeup, simple and easy. Our environmental blog Earth5R had this critical problem where authors and admin could not log it, applied this solution and it worked like magic. There was one of the few unnecessary plugins that was causing the problem. That also bring a lesson, keep only the most necessary plugin! Thanks a lot, that was such a time save.

  33. Femke

    Help! I am in the FTP file, but I really don’t know how to change te name of the folder..

    • WPBeginner Support

      In your FTP client, click to select the plugins folder and then right click and select Rename from the menu.

      Administrateur

  34. Yann

    Thank you guys for the FTP tip. I am a beginner and you just saved me many stressful hours.

  35. hyma

    Wow Tq Manuel, Saved my time, helps me a lot.

  36. Manuel

    Thank you very much for this useful post!

  37. Jonathan

    Thanks! I could get to my wordpress site, but not into the admin area. I got a fatal error because of a cache plugin. I did this to get it to the admin, deleted and reinstalled the plugin, and it’s working fine.

  38. Paul

    Thanks – saved hours of rework!

  39. Yarina

    None of this worked for me… but then I switched to Internet Explorer and now I can access my wp dashboard. The site has always been live. Any ideas of what could be causing the issue in Chrome?

  40. Chris

    Thank you. Problem was a bad plugin upgrade. Using FTP and changing plugin directory name, instantly gave back my ability to get to the wp-login page, then change the plugin directory back again via FTP allowed me to re-activate plugins in turn, thereby identifying the dodgy plugin easily. This was incredibly helpful and resolved my problem. Thanks you.

    • lynn Page

      if you know how to fix this i need help

  41. Ron Blake

    Great article. Thank you! Bad plug-in and using the plugin.deactivate rename was a lot easier than trying to do it through the admin panel.

  42. John Detlefs

    You. Rock. This article just made me a couple of grand and saved me from having to redo a week’s worth of work. Thankyou very much!

    Specifically, changing debug to « True » made life a whole lot easier. :)

  43. Javier Mayen

    wp-super-cache plugin put my screen in white and death. thank you this article give me the solution

  44. Ashley

    Someone can help me please i did this through my FTP but i still have the « reauth=1  » after that i deactivate my plugins folder. Thank You

  45. Shawn

    If you’re running WP-CLI, you can also do this by running:

    wp plugin deactivate –all

  46. flafin

    Great post, thank you!
    I got an Internal Server Error while trying to add tracking code to my functions.php file through the editor on WP. After getting the error I removed the code from the file, which should have fixed it, but I still had the error. I opened the file manager in my hosting account and navigated to the functions.php file. When I opened it the code that caused the error was still in the file. Once I removed the code the error went away. Hope this helps.

  47. anticrap

    amazing. i’m a complete novice at all of this and you made it so easy to sort out this problem. thank you so much

  48. Chris

    i tried both and it worked for me, the problem now is i can’t activate my plugins..

    • Nate

      Did you figure out how to reactivate them? I’m having the same issue. Let me know. Thanks.

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.