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

Como desativar todos os plug-ins quando não for possível acessar o WP-Admin

Você já teve problemas com seu site WordPress, mas não conseguiu acessar a área de administração para solucioná-los? Essa é uma experiência frustrante que muitos usuários do WordPress enfrentam em algum momento.

Uma etapa comum de solução de problemas é desativar todos os plug-ins e reativá-los um a um. Isso ajuda a identificar se um conflito de plugins está causando o problema. Mas o que você faz quando não consegue nem mesmo fazer login no wp-admin para executar essa etapa importante?

Não se preocupe, há uma solução. Neste guia, mostraremos como desativar todos os plug-ins do WordPress quando você estiver bloqueado fora da área de administração.

Deactivating all WordPress plugins without accessing admin area

Há dois métodos comumente usados para desativar plug-ins sem acessar a área de administração do seu site WordPress. Você pode escolher o método que lhe parecer mais fácil:

Método 1: Desativar todos os plug-ins do WordPress usando FTP

Para esse método, você precisará usar um cliente FTP ou o aplicativo gerenciador de arquivos no painel de controle da hospedagem do WordPress.

Se você nunca usou o FTP antes, consulte nosso guia sobre como usar o FTP para fazer upload de arquivos para o WordPress.

Primeiro, você precisa se conectar ao seu site usando um cliente FTP ou o gerenciador de arquivos no cPanel. Depois de conectado, você precisa navegar até a pasta /wp-content/.

Dentro da pasta wp-content, você verá uma pasta chamada plugins. É nela que o WordPress armazena todos os plug-ins instalados em seu site.

Rename plugins folder

Você precisa clicar com o botão direito do mouse na pasta de plug-ins e selecionar “Renomear”.

Em seguida, altere o nome da pasta para o que você quiser. Em nosso exemplo, nós a chamaremos de plugins.deactivated.

Plugins deactivated via FTP

Depois de fazer isso, todos os seus plug-ins serão desativados.

Isso ocorre porque o WordPress procura uma pasta chamada “plugins” para carregar os arquivos de plugin. Quando não encontra a pasta, ele desativa automaticamente os plug-ins ativos no banco de dados.

Normalmente, esse método é usado quando você está bloqueado fora da área de administração. Se o problema for com os plug-ins, você poderá fazer login na área de administração do WordPress.

Se você visitar a página Plugins ” Plugins instalados na área de administração do WordPress, verá notificações de todos os plug-ins que foram desativados.

WordPress plugins deactivated

Você também perceberá que todos os seus plug-ins desaparecer am. Não se preocupe; todos eles estão seguros e você pode restaurá-los facilmente.

Basta voltar ao seu cliente FTP e acessar a pasta /wp-content/. A partir daí, você precisa renomear a pasta plugins.deactivated de volta para plugins.

Agora, você pode voltar à página Plug-ins ” Plug-ins instalados na área de administração do WordPress e ativar um plug-in por vez até que seu site volte a funcionar.

Nesse ponto, você saberá exatamente qual plug-in causou o problema. Em seguida, você poderá excluir a pasta desse plug-in do seu site usando FTP ou solicitar suporte ao autor do plug-in.

Método 2: Desativar todos os plug-ins usando o phpMyAdmin

O método FTP é definitivamente mais fácil, em nossa opinião. No entanto, você também pode desativar todos os plug-ins do WordPress usando o phpMyAdmin.

Importante: antes de fazer qualquer coisa, faça um backup completo do banco de dados. Isso será muito útil se algo der errado.

Em seguida, será necessário fazer login no painel de controle da hospedagem na Web. Neste exemplo, estamos mostrando um painel do cPanel. O painel de sua conta de hospedagem pode ser diferente.

Você precisará clicar no ícone “phpMyAdmin” na seção Databases (Bancos de dados).

Selecting phpMyAdmin on cPanel

Isso iniciará o phpMyAdmin em uma nova janela do navegador.

Você precisará selecionar o banco de dados do WordPress, se ele ainda não estiver selecionado. Depois disso, você poderá ver as tabelas do banco de dados do WordPress.

Click at wp-options

Como você pode ver, todas as tabelas no banco de dados têm o prefixo wp_ antes do nome da tabela. Suas tabelas podem ter um prefixo de banco de dados diferente.

Você precisa clicar na tabela wp_options. Dentro da tabela wp_options, você verá linhas de diferentes opções. Localize a opção “active_plugins” e clique no link “Edit” (Editar) ao lado dela.

Click the Activate_Plugins option

Na próxima tela, você precisará alterar o campo option_value para a :0:{}.

Em seguida, clique no botão “Go” (Ir) para salvar suas alterações.

Reset active plugins

Você desativou com êxito todos os plug-ins do WordPress usando o phpMyAdmin. Se um plug-in o estava impedindo de acessar o administrador do WordPress, você deve conseguir fazer login agora.

Tutorial em vídeo

Subscribe to WPBeginner

Guias especializados sobre plug-ins do WordPress

Esperamos que este artigo tenha ajudado você a desativar todos os plug-ins do WordPress. Talvez você também queira ver alguns outros guias sobre solução de problemas de plug-ins do WordPress:

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

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.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

337 ComentáriosDeixe uma resposta

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

      Administrador

  2. Hollie

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

    • WPBeginner Support

      You’re welcome!

      Administrador

  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!

      Administrador

  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!

      Administrador

  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.

      Administrador

  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!

      Administrador

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

      Administrador

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

      Administrador

  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

      Administrador

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

      Administrador

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

      Administrador

  13. Tahmid Hasan

    It is really working… Thanks a lot

    • WPBeginner Support

      You’re welcome :)

      Administrador

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

      Administrador

  15. ANDERSON CARVALHO

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

    • WPBeginner Support

      You’re welcome :)

      Administrador

  16. Tife

    Thanks so much

    Second option work better

    • WPBeginner Support

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

      Administrador

  17. S K Shrivastava

    2nd one is really useful

    • WPBeginner Support

      Glad you found our guide helpful :)

      Administrador

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

      Administrador

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

      Administrador

  21. mika

    Thank you so much! it works!

    • WPBeginner Support

      Glad our guide was able to assist :)

      Administrador

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

      Administrador

  25. Ethel

    very helpful, thank you, worked like a charm.

    • WPBeginner Support

      Glad our article was helpful :)

      Administrador

  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.

      Administrador

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

      Administrador

  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

      Administrador

  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

      Administrador

  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.

      Administrador

  31. Shwetha

    Thank you so much, you saved my day!

    • WPBeginner Support

      Glad we could help :)

      Administrador

  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.

      Administrador

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

      Administrador

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

      Administrador

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

      Administrador

  38. internaut

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

    • WPBeginner Support

      Glad our article could help :)

      Administrador

  39. Dustin

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

    • WPBeginner Support

      You’re welcome :)

      Administrador

  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

      Administrador

  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

      Administrador

  43. Samar

    Thanks,this really solved my problem…

    • WPBeginner Support

      Glad it could help :)

      Administrador

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

      Administrador

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

      Administrador

  46. Josh

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

  47. Andy

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

  48. Gordon

    Thank you so so much!

    BTW I used cPanel File Manager

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

  50. sharmila

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

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.