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

    This worked great for me to solve the 500 error. Thanks!

  2. Andy

    Renaming the Plugins directory via cPanel file manager did the trick! Thanks so much!

  3. Gordon

    Thank you so so much!

    BTW I used cPanel File Manager

  4. Kieron

    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.

  5. sharmila

    as a beginner wordpress user, your post done great help. Thank you

  6. Olivier Deschères

    Thank you so much, your article saved my site ! I faced error 500 during a plugin-upgrade. Just like you told : renamed \plugins, then could connect as wp-admin. I saw my site in an uggly way but worked technically. All plugins seemed’uninstalled’. I renamed my folder to \plugins again. Refreshed my wp-admin page and i could activate one-by-one. You are fantastic, thx for the article!

  7. Will

    Thanks so much for the advice about disabling plugins via FTP. Worked perfectly when I felt a little panicked after an upgrade!

  8. Michelle

    Thank you SO MUCH, this worked perfectly. As soon as I disabled the plugins using your method I was able to login – phew – and reactive each plugin as I needed them. Hadn’t accessed the site backend in a while so it was time to do a cleanup. Again, you saved me so much time. Thank you xx

  9. Graham Peckham

    Good article but sadly did not solve my problem which is this.

    I could not change from Text to Visual, it was only on visual, could not insert Media and could not edit the Permalink!

    If I rename plugins folder my editor works fine, but it I rename all the plugins individually I still have the problem and so could not find which is causing the problem, maybe two are causing it…. Any advice?
    Help…….

  10. Teo Dumitru

    Thank you so much! Apparently it was all about a plugin.

  11. Ankit

    Thanks a lot this really helped.

  12. Mel Mills

    Worked great. Thank you!

  13. Juni Tjoa

    Thank you so much for the guide.
    It is real useful.
    Experienced white screen of death, and fixed it in mins thanks to your super easy to follow instruction!

  14. Sarah

    Thank you for the guide.
    Also to deactivate a specific plugin, just rename the specific plugin folder in the c-panel

  15. Ali

    Thanks for the advice, that got my site back up and gave me access to my admin area. However I’m struggling to reactivate the plugins. I’m seeing no plugins installed and when I try to re-install I get “cannot create directory”
    any ideas?

    Thanks again,

    Ali

    • WPBeginner Support

      Hi Ali,

      Please connect to your website using an FTP client or File Manager in cPanel. Go to /wp-content/ folder and make sure it has a plugins folder inside it. If it doesn’t, then you need to create one. After that try installing plugins again.

      If you do have plugins folder, then check its file and directory permissions.

      Admin

  16. Nadim

    Hello, Most of the time, we have the plugin conflict issues, in that case, we deactivate all plugins and enable one by one to check which plugin is the main culprit. I wish there was a plugin which will ease this process, disabling all plugins and and option to enable one by one.

  17. mourad

    thanks for the tutorial
    you’re a life saviors

  18. Issahaku Adam

    Thanks a lot.
    This is a masterpiece. I have been able to recover my sight after deactivating all my plugins. I got scared when I recovered the site because it was a complete mess. But upon activating all the plugins everything came back to normal. That’s why I will always be a fan of your blog. Thanks

  19. Issahaku Adam

    Hi,

    I have been a fun since I started my WordPress site this January. I followed your blog today on how to install site maintenance plugin. I was able to install, activate and use it. But unfortunately my laptop shut down unexpectedly afterward and I have realized that I have been logged out of my site. I did everything possible but it is simply not working. I would be grateful if you could help. Thanks.

    • WPBeginner Support

      Hello,

      Please see the article above to deactivate all WordPress plugins. This will allow you to login and then you will be able to activate plugins one by one.

      Admin

  20. Jeff Rudd

    Tried this solution but still have the whiteout page. As such cannot even gain access to the site dashboard, to further change or remove anything further.

    The solution above needs to be updated with further suggestions what to do, when the above tip doesn’t work. As it is, now I have a site that the public can view – but one that I cannot gain access to for dashboard repairing or anything else.

  21. allie

    I tried both versions but still get a HTTP Error 500 and am unable to access the backend of my wordpress site.

  22. Tecezzi

    Thank you so much this tip.

  23. Araceli Tzigane

    Your tip about renaming the plugins folder has been what saved my nervous system. Wow, thousand of thanks!!!!

  24. NIc Kra

    Tried activating woocommerce plugin and it broke the site. At first I had the Maintenance screen and now I have a 500 error. I can’t access anything through wp-admin or FTP. Using phpmyAdmin, I cannot locate any tables/columns etc named wp_options following your example.

  25. Muhammad Rashid Mukhtar

    Great Article. I just troubleshoot a problem which was never in google search using your steps. My all pages were showing a password field and submit button. After deactivating all plugins using your method and reactivating one by one showed that jetpack is corrupted and overriding all other hooks. Great help for me.

  26. Melwyn

    Your information was a real life-saver. Thanks for the post and for saving my site.

  27. Shafiq Anjum

    Thank you so much for this tip

  28. Shafiq Anjum

    Thank you guys for the help.solve issue via phpmyadmin.

  29. Ira

    Hi there,
    I’m trying to rename the plugins folder via FTP because I can’t login the admin. But I keep getting “access is denied” when I try to rename an active plugin.
    Can you help me out?
    Thanks!

  30. Steve

    Thanks. The FTP approach to plugins folder worked perfectly for me!

  31. Ankit

    Thank you for your article, i changed the plugin folder name and was able to login to admin panel again.

  32. Toby Rzepka

    Hmm, when I rename the folder back to “plugins,” I’m whitescreened out of admin again. How are people able to reactivate their plugins one by one?

  33. Sophy

    Thankyou!
    Saved me from a mini freak out episode. I appreciate your article. Every step worked for me!

  34. Berit

    I deactivated the plug-ins, now nothing works anymore. When I try to go on my page it says there is no connection to the database. What can I do?

    • Fiona

      This just happened to me too, help! ‘Error establishing a database connection’.
      I cut and pasted the text back, but still getting the error message.

  35. baraa ihab

    ok such an informative article really appreciate it. here is the problem i have reached the white page of doom and i dont ave access to the cpanel is there a turn around to fox this i already know the plugin causing the problem

  36. vinod

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/webtech1/public_html/wp-includes/post.php on line 4375

  37. Paul

    FTP Worked … Thank you! The culprit was Discussion Board plugin when I went private setting to work on it the next day on those pages and logged out for the night… lol thanks again!

  38. Maria

    Deactivating all plugins using FTP works for me. The issue was the Visitors-Traffic-Real-Time-Statistics plugin. Thanks a lot.

  39. Maggie

    Hello,

    It doesn’t seem like it was the plugins that caused the issue. I remember I was tweaking some codes in functions.php about the header, and all of sudden I was logged out. Would be greatly appreciated if you can help out!

    Maggie

  40. yatheesh.k.

    Plugin not tested with wordpress or not compatible with wordpress create white death to site.
    Thanks for your post, really helped me to retrieve my web site .

    • Indrek

      Can use only https://example.com/wp-login.php not https://example.com/wp-admin/ and when I push to entry button it shows me HTTP ERROR 500

  41. Norm

    Thank you so much for this useful tip. It saved me a lot of time when I couldn’t log into my site after repeatedly requesting new passwords. I found which plugin was causing the problem. :)

  42. Jimena Flores

    I know nothing about coding and decided to create my own portfolio site using wordpress. This post saved my life as I had an error after a plugin I installed. Thank you!

  43. Eugene

    I am not a developer or IT expert – don’t know much about this field and recently learned online how to create website and host it myself. However when something breaks I am reliant on forums like these to save me which this post did. I had an issue with Miniorange 2-factor authentication plugin which did not allow me to login, and then after numerous attempts to login got the Too many requests message.
    I solved the Too many requests issue by temporarily disabling ModSecurity in cPanel and then solved the miniorange issue by renaming the folder as noted in your forum. Everything works again and all is well with the world. Thank you.

  44. Raj singh

    I can’t Find wp_option option in php my admin.
    So now what should I Do ??
    Please help me.

  45. Ramona

    Hello,

    This article was very helpful. I had a problem with a plugin that I have installed. Changed it’s name in the FTP file and the website and admin worked again :)

    Thank you

  46. Paul LeBlanc

    So helpful, i copied these pages to Evernote!
    I had a bad plugin and not enough memory allocated.
    Thanks tons!

  47. Gavin

    Hey, This was very helpful in a very stressful situation so thank you!

  48. Bayo

    I tried to backup my site, the backup didn’t complete. Since then I been unable to access wp-admin page.. Always white. What else can I do? Thanks

  49. Hal

    The tip about turning off the plugins via the batabase is solid gold.

  50. Bogdan

    Thank you for this useful tutorial! You saved my night!

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.