Chcesz wyłączyć wszystkie wtyczki WordPress, ale nie masz dostępu do obszaru administracyjnego WordPress?
Podczas rozwiązywania problemów z WordPressem często zaleca się wyłączanie wszystkich wtyczek, a następnie ich ponowną aktywację. Ale co, jeśli nie możesz uzyskać dostępu do wp-admin, aby je wyłączać?
W tym artykule pokażemy, jak łatwo wyłączyć wszystkie wtyczki WordPress, gdy nie masz dostępu do obszaru administracyjnego wp-admin.
Film instruktażowy
Jeśli wolisz pisemne instrukcje lub chcesz poruszać się we własnym tempie, kontynuuj czytanie poniższych instrukcji.
Istnieją dwie powszechnie stosowane metody wyłączania wtyczek bez dostępu do obszaru administracyjnego twojej witryny internetowej WordPress. Możesz wybrać metodę, która wydaje się łatwiejsza:
Metoda 1: Wyłączanie wszystkich wtyczek WordPress za pomocą FTP
W przypadku tej metody będziesz musiał użyć klienta FTP lub aplikacji do zarządzania plikami w twoim panelu kontrolnym hostingu WordPress.
Jeśli nie korzystałeś wcześniej z FTP, możesz zapoznać się z naszym przewodnikiem na temat korzystania z FTP do przesyłania plików do WordPress.
Najpierw musisz połączyć się z twoją witryną internetową za pomocą klienta FTP lub menedżera plików w cPanel. Po połączeniu należy przejść do katalogu /wp-content/
.
Wewnątrz katalogu wp-content
znajduje się katalog o nazwie wtyczki
. Jest to miejsce, w którym WordPress przechowuje wszystkie wtyczki zainstalowane na twojej witrynie internetowej.
Należy kliknąć prawym przyciskiem myszy katalog z wtyczkami
i wybrać opcję „Zmień nazwę”.
Następnie zmień nazwę katalogu na dowolną. W naszym przykładzie nazwiemy go wtyczki.wyłączanie.
Gdy to zrobisz, wszystkie twoje wtyczki zostaną wyłączane.
Dzieje się tak, ponieważ WordPress szuka katalogu o nazwie „wtyczki”, aby wczytywać pliki wtyczek. Gdy nie znajdzie tego katalogu, automatycznie wyłącza włączone wtyczki w bazie danych.
Zwykle ta metoda jest używana, gdy twój obszar administracyjny jest zablokowany. Jeśli problem dotyczył twoich wtyczek, powinieneś być w stanie logować się do obszaru administracyjnego WordPress.
Jeśli przejdziesz na stronę Wtyczki ” Zainstalowane wtyczki w obszarze administracyjnym WordPress, zobaczysz powiadomienia o wszystkich wtyczkach, które zostały wyłączane.
Zauważysz również, że wszystkie twoje wtyczki zniknęły. Nie martw się, wszystkie są bezpieczne i możesz je łatwo przywrócić.
Po prostu przełącz się z powrotem do twojego klienta FTP i przejdź do katalogu /wp-content/
. Z tego miejsca należy zmienić nazwę katalogu plugins.deactivated
z powrotem na plugins
.
Teraz możesz wrócić do strony Wtyczki ” Zainstalowane wtyczki w obszarze administracyjnym WordPress i włączać po jednej wtyczce na raz, aż twoja witryna znów się zepsuje.
W tym momencie będziesz dokładnie wiedział, która wtyczka spowodowała problem. Następnie możesz usunąć katalog tej wtyczki ze swojej witryny za pomocą FTP lub poprosić autora wtyczki o pomoc techniczną.
Metoda 2: Wyłączanie wszystkich wtyczek za pomocą phpMyAdmin
Naszym zdaniem metoda FTP jest zdecydowanie łatwiejsza. Możesz jednak również wyłączyć wszystkie wtyczki WordPress za pomocą phpMyAdmin.
Ważne: Zanim cokolwiek zrobisz, wykonaj pełną kopię zapasową bazy danych. Przyda się, jeśli coś pójdzie nie tak.
Następnie należy logować się do kokpitu twojego hostingu. W tym przykładzie pokazujemy kokpit cPanel. Kokpit twojego konta hostingowego może wyglądać inaczej.
Będziesz musiał kliknąć ikonkę „phpMyAdmin” w sekcji „Bazy danych”.
Spowoduje to uruchomienie phpMyAdmin w nowym oknie przeglądarki.
Będziesz musiał wybrać twoją bazę danych WordPress, jeśli nie jest jeszcze wybrana. Następnie będziesz mógł zobaczyć tabele bazy danych WordPress.
Jak widać, wszystkie tabele w bazie danych mają przedrostek wp_
przed nazwą tabeli. Twoje tabele mogą mieć inny prefiks bazy danych.
Należy kliknąć tabelę wp_options
. Wewnątrz tabeli
wp_options zobaczysz wiersze różnych opcji. Znajdź opcję „active_plugins”, a następnie kliknij znajdujący się obok niej odnośnik „Edit”.
Na następnym ekranie należy zmienić pole option_value
na a:0:{}
.
Następnie kliknij przycisk „Dalej”, aby zapisać twoje zmiany.
Udało ci się wyłączyć wszystkie wtyczki WordPress za pomocą phpMyAdmin. Jeśli jakaś wtyczka uniemożliwiała ci dostęp do panelu administracyjnego WordPress, teraz powinieneś móc się logować.
Przewodniki ekspertów po wtyczkach WordPress
Teraz, gdy już wiesz, jak wyłączać wtyczki, gdy nie masz dostępu do wp-admin, być może spodoba ci się kilka innych przewodników związanych z wtyczkami WordPress:
- Czym są wtyczki WordPress? Jak one działają?
- Jak łatwo wyłączać wtyczki WordPress (przewodnik dla początkujących)
- Jak włączać / aktywować wtyczki WordPress z poziomu bazy danych
- Czy nieaktywne wtyczki spowalniają WordPressa? Czy należy je usunąć?
- Ile wtyczek WordPress powinieneś zainstalować? Co to znaczy za dużo?
- Czy używanie nieaktualnych wtyczek WordPress jest bezpieczne? (Wyjaśnienie)
- Czy powinieneś instalować wtyczki, które nie zostały przetestowane z twoją wersją WordPressa?
- Jak prawidłowo aktualizować wtyczki WordPress (krok po kroku)
- Czy najpierw zaktualizować WordPressa czy wtyczki? (Właściwa kolejność aktualizacji)
Mamy nadzieję, że ten artykuł pomógł ci w wyłączaniu wszystkich wtyczek w WordPressie. Możesz również dowiedzieć się, jak skonfigurować cele Google Analytics lub sprawdzić naszą listę najlepszych wtyczek do tworzenia kopii zapasowych WordPress, aby Twoje dane były bezpieczne.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
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!
Jiří Vaněk says
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 says
Glad we can share another method in case it is ever needed
Administrator
Hollie says
Thanks so much for writing this article- it saved me!
Big help, thank you!!
WPBeginner Support says
You’re welcome!
Administrator
Alan says
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 says
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!
Administrator
Nick says
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 says
Thank you for pointing out that typo, we’ve updated the article to fix it!
Administrator
Tamara says
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 says
In that case, you would want to use the second method from the article and that should force the plugins to deactivate.
Administrator
Dr. Ashutosh Pradhan says
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 says
Glad our article was able to help!
Administrator
Carol J Dunlop says
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 says
Glad to hear our recommendations helped and you were able to solve the problem
Administrator
Jeroen says
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 says
Glad you were able to solve the issue
Administrator
Ashley says
I wasn’t having luck with either method but I found a backup from the day before which worked fine.
WPBeginner Support says
Thank you for sharing that, restoring from a backup when able is a good option to use
Administrator
Katy Espiritu says
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 says
Glad our guide was helpful
Administrator
Tom says
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
WPBeginner Support says
If the recommendations in this article were unable to assist you, we would recommend taking a look at our article below:
https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administrator
Chris says
Thank you very much, this helped a lot!
WPBeginner Support says
Glad our guide was helpful
Administrator
Tahmid Hasan says
It is really working… Thanks a lot
WPBeginner Support says
You’re welcome
Administrator
Sheila says
LIFESAVER! Thank you so much for this content! It worked in an instant and I’m back into my Admin dashboard!
WPBeginner Support says
Glad our guide was helpful
Administrator
ANDERSON CARVALHO says
THANK YOU!!!!!!!!!!!!!!!!
WPBeginner Support says
You’re welcome
Administrator
Tife says
Thanks so much
Second option work better
WPBeginner Support says
You’re welcome, glad our article was helpful
Administrator
S K Shrivastava says
2nd one is really useful
WPBeginner Support says
Glad you found our guide helpful
Administrator
Steph says
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?)
WPBeginner Support says
For that error message, you would want to go through our guide below:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death
Administrator
Dex Antikua says
My issue got solved easily by following the steps.
WPBeginner Support says
Glad our guide was able to help
Administrator
Jimmy says
Thanks a lot for this help, it’s very easy to follow and it works so well
WPBeginner Support says
You’re welcome glad our guides are helpful
Administrator
mika says
Thank you so much! it works!
WPBeginner Support says
Glad our guide was able to assist
Administrator
Aditi Pygude says
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.
WPBeginner Support says
You would want to check with your hosting provider as well as go through the recommendations in our troubleshooting guide here: https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administrator
anurag saxena says
Hello , tried your suggestion but i am unable to alogin into my wordpress admin area.any other suggestion?this is emergency.
WPBeginner Support says
If this does not specifically solve your issue, you would want to take a look at our guide here: https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administrator
sourabh upadhyay says
very very very good saved my problem
WPBeginner Support says
Glad you found our article helpful
Administrator
Ethel says
very helpful, thank you, worked like a charm.
WPBeginner Support says
Glad our article was helpful
Administrator
Jerry says
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 says
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.
Administrator
Megan says
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 says
Glad our guide could help resolve the issue
Administrator
Aluko Kehinde says
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 says
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
Administrator
israr777 says
Hi Wpbeginner Support,
How i should i deactivate all plugins in local site ?
WPBeginner Support says
You would rename the plugins folder on your computer for that
Administrator
Mig Hu says
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 says
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.
Administrator
Shwetha says
Thank you so much, you saved my day!
WPBeginner Support says
Glad we could help
Administrator
DM says
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.?
WPBeginner Support says
Depending on your operating system we list some FTPs we recommend in our article here: https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/
Administrator
Artur says
Hey,
I disabled all plugins, but now all of my Woocommerce is lost.
What do I do ?
WPBeginner Support says
When you reenable your plugins the WooCommerce tools should be available again.
Administrator
William says
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 says
Glad our guide could help
Administrator
sofea says
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 says
For that message, you would want to reach out to your hosting provider and they should be able to help you fix it
Administrator
George says
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?
WPBeginner Support says
For solving the white screen of death you would want to take a look at our guide here: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/
Administrator
DJ X PAT 254 says
You’re the man. Renaming my plugins folder in file manager worked a charm
WPBeginner Support says
Glad our article could help
Administrator
internaut says
Thank you! You saved my website! Thanks a lot !!!!!!!!
WPBeginner Support says
Glad our article could help
Administrator
Dustin says
Oh my gosh! This worked perfectly!! Thank you so much
WPBeginner Support says
You’re welcome
Administrator
Tam says
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 says
You would want to reactivate them manually in your wp-admin area of your site
Administrator
meena says
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!
WPBeginner Support says
You may want to try manually updating your WordPress files to see if it is an error in a modified file: https://www.wpbeginner.com/wp-tutorials/how-to-manually-update-wordpress-using-ftp/
Administrator
meena says
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 says
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
Administrator
Samar says
Thanks,this really solved my problem…
WPBeginner Support says
Glad it could help
Administrator
Monika says
Thank you so much! That helped a lot with the error that crashed my page. And saved my night. And my sanity.
WPBeginner Support says
Glad our guide could help
Administrator
Tanya says
This was a perfect step-by-step to help a rookie solve a 500 error. THANK YOU!
WPBeginner Support says
Glad our guide could help
Administrator
Josh says
This worked great for me to solve the 500 error. Thanks!
Andy says
Renaming the Plugins directory via cPanel file manager did the trick! Thanks so much!
Gordon says
Thank you so so much!
BTW I used cPanel File Manager
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.
sharmila says
as a beginner wordpress user, your post done great help. Thank you