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. phills.B

    THANK YOU! tonight wpbeginner saved my life ;)
    you have no idea how long i’ve been looking for a fix and never would have thought it’s that simple …

  2. Sanjay Rath

    Awesome articles. Just followed the steps and removed WP-Optimize which I had just upgraded

  3. miraben

    Solved a problem just following this article. A BIG Thanks.

  4. Martyn

    THANK YOU!! This article got me out of an issue that I had suffered for months. I thought a Wordpress update would solve the issue – but when the next update came – I couldn’t access it as it was also suffering the ‘white screen of death’

    Followed the instructions – sorted!

    Thank you again

  5. MM

    I had the white screen throughout my entire site after updating some plugins. I did this and I was able to access admin panel, but still had white screen on front in. Wouldn’t making all them inactive bring the site back all together? Not sure why deactivating them let me access admin panel but nothing else.

  6. Peter

    Wow! I owe the author of this article some doughnuts from McDonalds :)

    The procedure works like charm \m/

    Hurray!

  7. Yannick

    Thanks! This article saved me twice already using the phpMyAdmin option :-)

  8. Max William

    This really helped. Thanks!

  9. Dorian

    This post saved all my work. Thank you.

  10. Elias Obeid

    This solved my problem. An update for the [NextGEN Gallery by Photocrati] plugin was available, and the update messed things up. Maybe it ran out of memory, I don’t know. I was unable to acces my plugin site.
    I increased the memory limit as described in a post from this site, by editing the wp-config.php file on the site. After this I deactivated the plugins, logged in and reactivated them. Thanks a lot.

  11. WHITEFEATHER HUNTER

    OK! I managed to find the htaccess_old file, rename it to htaccess and my site is back online with no more problems. I was able to identify the bad plugin (Front End Users) and now the site is allllllllll good! Thanks so much for this extremely useful post.

  12. zippy

    deactivate plugins – thank you so much

  13. bibhuti

    After I renamed the plugins folder, I am able to login but….as soon as i rename the plugins folder to default ,,,i am again getting a blank page………… please help………….how should i resolve this problem

    • WPBeginner Support

      One of the plugins you had installed is causing the issue. Install and activate plugins one by one to figure out which plugin is causing the issue.

      Admin

  14. Laura

    I am very new to wordpress, which we use at work to manage all the sites we do (I am not the web designer, so I don’t know how anything other than the basic wordpress dashboard works. I do not know how to access either of the things you mention in this post. I know it was a plug-in that caused the problem because I was trying to add plug-ins when this happened. Since we host a lot of wordpress sites, all with different plug-ins, I don’t know how to only fix the problem on the site that has the issue. Also, it’s not just the admin panel with the white screen, I also get that if I try to visit the actual site. Help!

  15. olivier percheron

    Thanks for this precious post. I’ve managed to restart my admin console with the plug-ins deactivation.
    Thanks a lot for the help !!!

  16. Mark Klinefelter

    Your article saved my day!! Thank you so much! Had the white screen of death after I installed uber menu plugin…..Your advice got me back to the admin again to retest plugins!! Superb!

  17. Mike

    Just saved me some time, but in my case I had to activate plugins to get in. :)

  18. kristine

    Thanks a lot sir. I was able to fix it. Really grateful for this post. <3

  19. Chad Ritchie

    Thanks Syed, quick and simple solution got our site back up in less than a minute.

  20. Taylor

    Thank you very much! Quick and easy!

  21. Didi Zaharieva

    Thank you :) my web host could not figure it out but you helped me solve the issue :)

  22. mhmd

    Thanks for this info i found it very helpful

  23. Stephanie

    I’ve spent an hour trying to get back into my site, and you solved my problem within minutes. You directions were simple and easy to follow. Thanks so much for what you do!

  24. Namit kapoor

    Sir you and your ideas are really great and awesome.. always work for me…

  25. ana

    Hi! I ‘m having this trouble. I Know that is a plugin who is crashing my website bc it is failing since I installed it. But my problem is that even my wp-content is white so I cannot change the plugin folder name. I haven’t been able to enter trough ftp either. What should I do next? Thank you very much in advance

    • WPBeginner Support

      Most good WordPress hosting providers offer cPanel dashboard or other similar web based interface to manage your hosting account. Log in to your hosting account and find File Manager on your cPanel dashboard. Navigate to your wp-content/plugins directory. Now you can either rename only the plugin that is causing the problem or you can rename the entire plugins directory. This should deactivate all your plugins.

      Admin

      • ana

        Thank you! I’ll definitively try that!

  26. Brian Dollin

    I went in through the file manager and deleted the conflicting plugin. You have a new follower now. Thanks for the advice!
    Brian

  27. Michael Price

    Thank you for this. I’m very new to wordpress and my own blog. Panicked with all of a sudden it didn’t work. I use HostLatte and they are of zero help to me (I need to switch). Your suggestion worked! Thank you soooo much

  28. Natasha

    This has been beyond helpful! Actually your whole site is a goldmine of useful info for Wordpress newbies like me!

    Many thanks!

  29. Renate Hoornstra

    thanks for this, i was locked out and this helped me get back in. thank you so much

  30. Baker

    This was really helpful, thanks. I couldn’t access my wp-admin page. I have just deactivated all plugins.

  31. stephanie

    Hello! I can’t access my admin site. I’m also not sure how to FPT? How can I do this?

  32. Dani Perkins

    Oh wow, you just saved me so many hours of freaking out! I love you. Seriously, thanks! When I had the white screen of death just now, I followed your directions and re-did the plugins to no avail, but when I restored my theme all was right with the world.

  33. Shaneel

    I tried using this but as soon as i enter my wp_options table i cannot find the active plugins tab..
    Could you please help me out with this?
    Thank You

  34. sally

    thank you for the easy to follow solution….

    A plug in provider had suspended my access to WP admin with a big red screen after I asked to change from annual payments to monthly payments for the plug in.

  35. Carlos Escórcio

    It worked after renaming the plugins folder, thanks.

  36. David

    This advice, like many of your other ones, worked like a charm. The first time I switched back “on” the file, it crashed, then I deactivated again and it said no plugins files exist, then it worked.
    So some of you may have to do it twice (perhaps a cache thing, I don’t know), but it worked.
    In my case, the plug in that seemed to do it, wouldn’t reactivate as WP returned it would cause fatal error.
    So I am thrilled to know what to do going forward.
    thanks, WPBeginner!

  37. Natalie Proffitt

    Disabling the plugins has resolved the white screen on the front end but I’m still getting white screen on /wp-admin. Any ideas how to fix this as i can’t log in to the admin panel now

  38. Edwin Lynch

    Great post. Naturally, if you are using a security plug (that rewrites your .htaccess file for example) you might want to keep a bare Wordpress .htaccess file handy, too – and upload that to the root dir. You can get a copy of the standard .htaccess file from the root of any virgin WP install. Just keep it handy for lockouts generally… As you were.

  39. David

    I held my breath longer than a deepsea diver as I followed your instructions. It requires a degree of confidence and trust. For others, my problem was a plug-in which froze on activation, before getting the white screen treatment. I followed teh instructions about looking for wp-content, then to deactivate plug-ins. However, I decided just to delete the last plug-in only, and that did the trick! Thanks for providing such a ‘saver’!

  40. Hari Babu

    It worked thanks a lot.

  41. Jordi

    It works !!

    THANK YOU my WordPress risen. :)

  42. Maria

    I deactivated all my plugins and themes except WP default theme, but the screen is still white and I cannot get to wp-admin.

  43. Chetan Sharma

    It worked!! Thanks a lot friend!! It worked and you have saved me!! :D

  44. Roger Kamena

    Your post SAVED ME….

    Twice!!!

    Thanks so much for writing this you don’t know how many hours of pain you saved me. Both times I had the problem I was able to resolve it in 10 minutes using your post instructions.

    Roger

  45. Lee Miller

    Thank you for your articles on how to fix WordPress when something goes wrong.
    I’m somewhat new to WordPress and so far i have been not able to access my admin panel twice and both times it took me months to fix. The last time I couldn’t fix it so I just removed WordPress from my domain and started all over. I had to have my domain host help me get everything off so that I could start over. Extreme way to correct a problem but with low tech knowledge it was what I had to do. Good thing that I’m persistant as I would have given up blogging a long time ago. It’s my joy in writing that keeps me going.
    Thanks again for your site.
    You are helping people worldwide. USA for me. Lee

  46. Brad Dalton

    Very handy tip if you get the white screen of death and not sure what caused it. Thanks

  47. karthik

    Recently i also suffered from a problem caused from a newly activated plugin and i think this post should have come before few days

  48. Muhammad Yaqoob

    Very informative and a must known thing!!
    Thanks for the Post

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.