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

Come disattivare tutti i plugin quando non si riesce ad accedere a WP-Admin

Avete mai avuto problemi con il vostro sito web WordPress, ma non siete riusciti ad accedere all’area di amministrazione per risolvere i problemi? Questa è un’esperienza frustrante che molti utenti di WordPress si trovano ad affrontare prima o poi.

Un’operazione comune per la risoluzione dei problemi consiste nel disattivare tutti i plugin e poi riattivarli uno per uno. Questo aiuta a identificare se il problema è causato da un conflitto di plugin. Ma cosa si fa quando non si riesce nemmeno ad accedere a wp-admin per eseguire questo passo importante?

Non preoccupatevi, c’è una soluzione. In questa guida vi mostreremo come disattivare tutti i plugin di WordPress quando siete bloccati dall’area di amministrazione.

Deactivating all WordPress plugins without accessing admin area

Esistono due metodi comunemente utilizzati per disattivare i plugin senza accedere all’area di amministrazione del vostro sito WordPress. Potete scegliere il metodo che vi sembra più semplice:

Metodo 1: Disattivare tutti i plugin di WordPress tramite FTP

Per questo metodo, dovrete utilizzare un client FTP o l’applicazione di gestione dei file nel vostro pannello di controllo dell’hosting WordPress.

Se non avete mai usato l’FTP, potete consultare la nostra guida su come usare l’FTP per caricare i file su WordPress.

Per prima cosa, è necessario collegarsi al proprio sito web utilizzando un client FTP o il file manager di cPanel. Una volta collegati, è necessario navigare nella cartella /wp-content/.

All’interno della cartella wp-content, si trova una cartella chiamata plugins. È qui che WordPress memorizza tutti i plugin installati sul vostro sito web.

Rename plugins folder

È necessario fare clic con il tasto destro del mouse sulla cartella dei plugin e selezionare “Rinomina”.

Quindi, cambiare il nome della cartella con quello che si preferisce. Nel nostro esempio, la chiameremo plugin.deactivated.

Plugins deactivated via FTP

Una volta eseguita questa operazione, tutti i plugin saranno disattivati.

Questo perché WordPress cerca una cartella chiamata “plugins” per caricare i file dei plugin. Quando non trova la cartella, disabilita automaticamente i plugin attivi nel database.

Di solito, questo metodo viene utilizzato quando si è bloccati dall’area di amministrazione. Se il problema riguarda i plugin, dovreste essere in grado di accedere all’area di amministrazione di WordPress.

Se visitate la pagina Plugin ” Plugin installati all’interno dell’area di amministrazione di WordPress, vedrete le notifiche per tutti i plugin che sono stati disattivati.

WordPress plugins deactivated

Si noterà anche che tutti i plugin sono scomparsi. Non preoccupatevi: sono tutti al sicuro e potete facilmente ripristinarli.

Passare nuovamente al client FTP e andare alla cartella /wp-content/. Da qui, è necessario rinominare la cartella plugin.deactivated in plugins.

A questo punto, potete tornare alla pagina Plugin ” Plugin installati all’interno dell’area di amministrazione di WordPress e attivare un plugin alla volta finché il sito non si rompe di nuovo.

A questo punto, si saprà esattamente quale plugin ha causato il problema. È quindi possibile eliminare la cartella del plugin dal sito tramite FTP o chiedere assistenza all’autore del plugin.

Metodo 2: Disattivare tutti i plugin con phpMyAdmin

Il metodo FTP è sicuramente più semplice, a nostro avviso. Tuttavia, potete anche disattivare tutti i plugin di WordPress utilizzando phpMyAdmin.

Importante: prima di qualsiasi operazione, eseguire un backup completo del database. Questo vi tornerà utile se qualcosa dovesse andare storto.

Successivamente, dovrete accedere al vostro cruscotto di web hosting. In questo esempio, vi mostriamo il cruscotto di cPanel. Il cruscotto del vostro account di hosting potrebbe avere un aspetto diverso.

È necessario fare clic sull’icona “phpMyAdmin” sotto la sezione Database.

Selecting phpMyAdmin on cPanel

In questo modo si avvia phpMyAdmin in una nuova finestra del browser.

È necessario selezionare il database di WordPress, se non è già stato selezionato. Dopodiché, sarà possibile visualizzare le tabelle del database di WordPress.

Click at wp-options

Come si può vedere, tutte le tabelle del database hanno il prefisso wp_ prima del nome della tabella. Le vostre tabelle potrebbero avere un prefisso diverso.

È necessario fare clic sulla tabella wp_options. All’interno della tabella wp_options, si vedranno righe di opzioni diverse. Trovate l’opzione “active_plugins” e cliccate sul link “Modifica” accanto ad essa.

Click the Activate_Plugins option

Nella schermata successiva, è necessario modificare il campo option_value in a:0:{}.

Quindi, fare clic sul pulsante “Vai” per salvare le modifiche.

Reset active plugins

Avete disattivato con successo tutti i plugin di WordPress utilizzando phpMyAdmin. Se un plugin vi impediva di accedere all’amministrazione di WordPress, ora dovreste essere in grado di accedere.

Video tutorial

Subscribe to WPBeginner

Guide di esperti sui plugin di WordPress

Speriamo che questo articolo vi abbia aiutato a disattivare tutti i plugin di WordPress. Potreste anche voler consultare altre guide sulla risoluzione dei problemi dei plugin di WordPress:

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

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.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

337 commentiLascia una risposta

  1. Jiří Vaněk

    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.

    • WPBeginner Support

      Glad we can share another method in case it is ever needed :)

      Admin

  2. Hollie

    Thanks so much for writing this article- it saved me!
    Big help, thank you!!

    • WPBeginner Support

      You’re welcome!

      Admin

  3. Alan

    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

      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!

      Admin

  4. Nick

    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:{}

    • WPBeginner Support

      Thank you for pointing out that typo, we’ve updated the article to fix it!

      Admin

  5. Tamara

    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

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

      Admin

  6. Dr. Ashutosh Pradhan

    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.

    • WPBeginner Support

      Glad our article was able to help!

      Admin

  7. Carol J Dunlop

    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!

    • WPBeginner Support

      Glad to hear our recommendations helped and you were able to solve the problem :)

      Admin

  8. Jeroen

    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.

    • WPBeginner Support

      Glad you were able to solve the issue :)

      Admin

  9. Ashley

    I wasn’t having luck with either method but I found a backup from the day before which worked fine.

    • WPBeginner Support

      Thank you for sharing that, restoring from a backup when able is a good option to use

      Admin

  10. Katy Espiritu

    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.

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  11. Tom

    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

  12. Chris

    Thank you very much, this helped a lot!

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  13. Tahmid Hasan

    It is really working… Thanks a lot

    • WPBeginner Support

      You’re welcome :)

      Admin

  14. Sheila

    LIFESAVER! Thank you so much for this content! It worked in an instant and I’m back into my Admin dashboard!

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  15. ANDERSON CARVALHO

    THANK YOU!!!!!!!!!!!!!!!!

    • WPBeginner Support

      You’re welcome :)

      Admin

  16. Tife

    Thanks so much

    Second option work better

    • WPBeginner Support

      You’re welcome, glad our article was helpful :)

      Admin

  17. S K Shrivastava

    2nd one is really useful

    • WPBeginner Support

      Glad you found our guide helpful :)

      Admin

  18. Steph

    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?)

  19. Dex Antikua

    My issue got solved easily by following the steps.

    • WPBeginner Support

      Glad our guide was able to help :)

      Admin

  20. Jimmy

    Thanks a lot for this help, it’s very easy to follow and it works so well

    • WPBeginner Support

      You’re welcome glad our guides are helpful :)

      Admin

  21. mika

    Thank you so much! it works!

    • WPBeginner Support

      Glad our guide was able to assist :)

      Admin

  22. Aditi Pygude

    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.

  23. anurag saxena

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

  24. sourabh upadhyay

    very very very good saved my problem

    • WPBeginner Support

      Glad you found our article helpful :)

      Admin

  25. Ethel

    very helpful, thank you, worked like a charm.

    • WPBeginner Support

      Glad our article was helpful :)

      Admin

  26. Jerry

    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

      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.

      Admin

  27. Megan

    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!

    • WPBeginner Support

      Glad our guide could help resolve the issue :)

      Admin

  28. Aluko Kehinde

    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

      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

      Admin

  29. israr777

    Hi Wpbeginner Support,

    How i should i deactivate all plugins in local site ?

    • WPBeginner Support

      You would rename the plugins folder on your computer for that

      Admin

  30. Mig Hu

    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

      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.

      Admin

  31. Shwetha

    Thank you so much, you saved my day!

    • WPBeginner Support

      Glad we could help :)

      Admin

  32. DM

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

  33. Artur

    Hey,

    I disabled all plugins, but now all of my Woocommerce is lost.
    What do I do ?

    • WPBeginner Support

      When you reenable your plugins the WooCommerce tools should be available again.

      Admin

  34. William

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

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  35. sofea

    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

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

      Admin

  36. George

    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?

  37. DJ X PAT 254

    You’re the man. Renaming my plugins folder in file manager worked a charm

    • WPBeginner Support

      Glad our article could help :)

      Admin

  38. internaut

    Thank you! You saved my website! Thanks a lot !!!!!!!!

    • WPBeginner Support

      Glad our article could help :)

      Admin

  39. Dustin

    Oh my gosh! This worked perfectly!! Thank you so much :)

    • WPBeginner Support

      You’re welcome :)

      Admin

  40. Tam

    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?

    • WPBeginner Support

      You would want to reactivate them manually in your wp-admin area of your site

      Admin

  41. meena

    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!

  42. meena

    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

      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

      Admin

  43. Samar

    Thanks,this really solved my problem…

    • WPBeginner Support

      Glad it could help :)

      Admin

  44. Monika

    Thank you so much! That helped a lot with the error that crashed my page. And saved my night. And my sanity.

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  45. Tanya

    This was a perfect step-by-step to help a rookie solve a 500 error. THANK YOU!

    • WPBeginner Support

      Glad our guide could help :)

      Admin

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.