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

Nota editorial: Ganhamos uma comissão de links de parceiros no WPBeginner. As comissões não afetam as opiniões ou avaliações de nossos editores. Saiba mais sobre Processo editorial.

Você precisa desativar todos os plug-ins do WordPress, mas não consegue acessar a área de administração do WordPress?

Durante a solução de problemas do WordPress, você será frequentemente aconselhado a desativar todos os plug-ins e depois reativá-los um a um. Mas e se você não conseguir acessar o wp-admin para desativá-los?

Neste artigo, mostraremos como desativar facilmente todos os plug-ins do WordPress quando não for possível acessar a área wp-admin.

Deactivating all WordPress plugins without accessing admin area

Tutorial em vídeo

Subscribe to WPBeginner

Se preferir instruções escritas ou quiser seguir seu próprio ritmo, continue lendo as instruções abaixo.

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

Guias especializados sobre plug-ins do WordPress

Agora que você sabe como desativar plug-ins quando não consegue acessar o wp-admin, talvez queira ver outros guias relacionados a plug-ins do WordPress:

Esperamos que este artigo tenha ajudado você a desativar todos os plug-ins no WordPress. Você também pode querer saber como configurar as metas do Google Analytics ou conferir nossa lista dos melhores plug-ins de backup do WordPress para manter seus dados do WordPress seguros.

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

338 ComentáriosDeixe uma resposta

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

    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.

  3. Olivier Deschères says

    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!

  4. Will says

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

  5. Michelle says

    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

  6. Graham Peckham says

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

  7. Juni Tjoa says

    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!

  8. Ali says

    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

  9. Nadim says

    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.

  10. Issahaku Adam says

    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

  11. Issahaku Adam says

    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.

  12. Jeff Rudd says

    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.

  13. Araceli Tzigane says

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

  14. NIc Kra says

    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.

  15. Muhammad Rashid Mukhtar says

    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.

  16. Ira says

    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!

  17. Toby Rzepka says

    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?

  18. Berit says

    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?

  19. baraa ihab says

    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

  20. vinod says

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

  21. Paul says

    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!

  22. Maria says

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

  23. Maggie says

    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

  24. yatheesh.k. says

    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 says

      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

  25. Norm says

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

  26. Jimena Flores says

    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!

  27. Eugene says

    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.

  28. Ramona says

    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

  29. Paul LeBlanc says

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

  30. Bayo says

    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

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.