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

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

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

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. Susan says

    Hi! I reset the name of the plugin file but still couldn’t login. Anyone else have the same problem or have some advice?

    Thanks!

  3. Katy says

    Thank you, totally saved me. I was doing the « breathe, don’t panic » thing already thank goodness, which is how I found this article. Thanks again :)

  4. morgan says

    Okay, so I’ve done this and now all my plugins are completely gone on my admin page. It keeps failing when i try to install anything.
    I still see all my plugins on filezilla but they arent on my website.

    Someone please help! I’m freaking out.

  5. Jeremy Weston says

    Something killed two of my sites. I ssh’d in and renamed the plugins folder, went into my WP admin, logged in, went to the plugins page. Then all plugins were disabled via the admin panel. My site was working again!

    Then I renamed the plugins folder back to the original name and updated and reactivated my plugins. Something had caused my site to crash. Unfortunately, I’ll have to keep an eye open for this. Uptime monitors help!

    Thanks for this writeup wpbeginner!

  6. Collins Uzamere says

    Thnak you very much .God bless the author of this article it helped me solve a problem that gave me sleepless night

  7. Gabriella Bourdon says

    On my wordpress site, I got « the white screen of death » with the message « Warning: Cannot modify header information – headers already sent by (output started at …)

    So we tried deactivating the plugins and it still doesn’t work-we still can’t get inside the admin console. We had issues with Google Adwords, and deleted those plugins, and now we actually do get ads…Not crystal on what’s going on? Any help would be much appreciated.

    • George M says

      Another cause is if your php memory limit is too low. Please make sure your memory limit in php is set to at least 128M or 256M.

      The other common cause is with a poorly coded theme. If you just installed a theme and this appears, you can re-enable the default theme by logging into PHPmyadmin, selecting your database, and changing the following values from wp_options table to a default theme that is present (twentyeleven, twentytwelve, twentythirteen, twentyfourteen, etc). Make sure this is a theme you actually have, and you can check your themes in the wp-content/themes directory. The values that need changes are:
      template
      stylesheet
      current_theme

    • WPBeginner Support says

      No, but you can activate your installed plugins by visiting the plugins page in your WordPress admin area. However, if a plugin was causing an issue on your website, then reactivating it will trigger the same issue again. This is how you can find out which plugin is causing the issue and find an alternative.

      Administrateur

  8. Claire says

    Hi, I am working on a locally hosted site running Xampp.
    I am getting « Robot test error: I suggest a new strategy, R2, let the Wookie win. », when I try to login to my locally hosted site on wordpress. I read a few articles and went to my phpmyadmin page, and clicked on the database I am using, selected « wp_options », but I cannot find the « active_plugins ».
    Does anyone know another way around getting rid of this error?So I can log back into my site.

    • Claire says

      Managed to find a solution :-) went to my xampp folder, htdocs, then the name of the site I am creating. Then wp_content, then plugins, and deleted the folder containing the reCaptcha plugin, as this was giving me the “Robot test error: I suggest a new strategy, R2, let the Wookie win.”error.
      Then could log back in with no problem :-)

  9. john smith says

    This is a great page. FTP solution worked like a dream to fix my white screen of death. Note to self – always update all plugins before wordpress core…

  10. Dirk says

    Thanks for putting the different options on a page.
    Makes it a clear list to go by checking the problem. What is not in the list but worked for me, is temporarily disabling the .htaccess file by renaming it and so I could working from there.

    • Steve says

      Thank you so much for this tip. I was going nuts because my wp-total-cache went haywire and your post helped me figure out what was going on. Thank you for taking the time to invest.

  11. maz says

    Thanks got me out of a jam need some help now to remove a dodgy plugin W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/content/16/8282516/html/notsealed/wp-content/db.php

    IS it safe to remove this db.php file? Crashes if I leave the plugin in the folder, crashes if I install, crashes if uninstall. Fielzilla helped to rename but WordPress is a mess keeps coming up with the error above thanks

  12. Bona says

    Mine is a different case, after disabling all the plugins by deleting the codes, the plugins and even widgets stopped showing by I was still unable to login to my admin page. Since the plugins are not the cause, I pasted the codes back and the plugins and widgets didn’t show up again! What happened?

  13. Tristan Morgan-Buck says

    THANK YOU GUYS SO MUCH; I was trying to access my website for 3 days after I installed login_form_recaptcha, and I tried everything, but you guys really saved my a**! Thanks a bunch!!!

  14. simon says

    Thanks, worked a treat.
    Much easier than I thought it would be.

    I knew which plugin was the problem so went in with FTP and renamed the individual plugin module folder – logged back into WP and was able to delete the plugin from within wp-admin/plugins.

  15. MBHayes says

    OH BOY… this just saved my tail end best I can tell… 6/15/16… Adminimize plugin upgrade crashed / blocked access to my admin panel.
    THANK YOU SO SO MUCH this handy reference still lives on the web!!!

    • MBHayes says

      … my case continues and is not closed after all …
      When I renamed plugins and then soft restarted apache my admin panel was good… however, once I renamed plugins back to plugins from deactivate.plugins… AGAIN the admin panel would fire on IE but not let you in and would not fire at all on Firefox!
      Oh boy… more CSI time……………………………

      • MBHayes says

        Case Closed… before we BASH adminimize which has been a faithful plugin… let me say I’ve managed to reach the admin panel and reactivated adminimize and everything is still running.

        My case was somewhat varied to this post… in my case my site was a vm running on ubuntu… I didn’t have access over the normal channels due to a network move killing off my webmin and winscp access… so while I used the same principals here I had to actually drill down by logging into the unbuntu server –> cd /var/www/wp-content/plugins. At first I RENAMED the plugins directory — it failed I guess cause while I logged in I logged back out then renamed the directory. Anyway, I continued to toy around and went back from within the plugins directory and renamed about 5 plugins (mv deact.plugin1… deact.plugin2… etc…. fired the wp-admin and we’re good! Reactivated about 3 of the 5 so far and it hasn’t crashed back out yet. Still testing… in summary want to emphasize that I can’t for sure at the moment say I lost the admin panel on the adminimize plug-in… but one of the 5 for sure caused issue. Anyway, I’m back slowly reactivating the rest!

  16. Ruhi says

    Hiee… when I try to load my site it says this page isn’t working also it says yoursite.com can’t handle this record and moreover am unable to acess my wordpress dashboard when I try entering the wp-admin it show blank white page please help!!

  17. pankaj says

    hii,
    i am getting

    PHP Fatal error: Cannot redeclare is_comments_popup() (previously declared in /home/rateahqx/public_html/wp-includes/query.php:309) in /home/rateahqx/public_html/wp-includes/deprecated.php on line 3713
    i tried everything but my site is still not starting pls help me.
    and i think this problem started after the wordpress update.

    • WPBeginner Support says

      It is possible that a WordPress update was stopped before completion. Try downloading a fresh copy of WordPress, unzip it on your computer and then upload them back to your server using FTP. This will overwrite WordPress core files.

      Administrateur

  18. Ronald says

    thank you for this blog. it really helps but what i did is delete some plugins. Thank you once again my site brings back to life :)

  19. Hanne Schroedter says

    Yupp, this was perfect, and I could deactivate Jetpack who was udated later today.
    Thank you! Awesome.

    • WPBeginner Support says

      You can visit it in your browser, like this:

      example.com/wp-content

      Replace example.com with the domain of the website.

      However, wp-content file has a blank index.php file in it. So you will only be able to see a white screen.

      If you know the full URL to a file, then you can view it in your browser like this:

      example.com/wp-content/path/to/file.jpg

      To navigate wp-content as an admin you need to use an FTP client or File Manager in cPanel.

      Administrateur

  20. Lesly Federici says

    Hello
    THANK YOU for this article. for 2 days my site has been down due to a plugin and you’d think my theme/hosting support would tell me what to do. Nope. So I had to research it and this did it!

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.