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

Co zrobić, gdy nie masz dostępu do panelu administracyjnego WordPress (wp-admin)?

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Masz problemy z logowaniem się do obszaru administracyjnego WordPress?

Może to być spowodowane wieloma różnymi przyczynami, co utrudnia początkującym rozwiązywanie problemów.

W tym artykule pokażemy ci, co zrobić, gdy zostaniesz zablokowany w panelu administracyjnym WordPress (wp-admin), abyś mógł odzyskać dostęp do twojej witryny.

What To Do When You Are Locked Out of WordPress Admin (wp-admin)

Dlaczego nie masz dostępu do panelu administracyjnego WordPress?

Często słyszymy od użytkowników, którzy są zablokowani w obszarze administracyjnym WordPress. Jest to frustrujące i może zatrzymać twoją produktywność. Nie możesz pisać wpisów, odpowiadać na komentarze ani wykonywać żadnych prac na twojej witrynie internetowej WordPress.

Jeśli masz problemy z logowaniem się na czyjejś witrynie, powinieneś skontaktować się z jej właścicielem lub administratorem i poinformować go o tym. Mogą oni wyjaśnić, dlaczego nie masz dostępu lub współpracować z Tobą w celu rozwiązania problemu.

Jeśli jesteś właścicielem witryny, możesz postępować zgodnie z poniższymi krokami rozwiązywania problemów.

Istnieje kilka powodów, dla których możesz być zablokowany w panelu administracyjnym WordPress, więc przyjrzyjmy się każdemu z nich po kolei. Miejmy nadzieję, że dzięki temu procesowi eliminacji będziesz w stanie znaleźć rozwiązanie twojego problemu.

Możesz również zapoznać się z naszym przewodnikiem po rozwiązywaniu problemów WordPress, aby dowiedzieć się, co jest przyczyną problemu i jak go poprawić. Możesz również znaleźć rozwiązanie na naszej liście najczęstszych błędów WordPress i sposobów ich poprawki.

Mając to na uwadze, przyjrzyjmy się kilku krokom, które możesz podjąć, gdy zostaniesz zablokowany w panelu administracyjnym WordPress. Możesz użyć poniższych odnośników, aby szybko przejść do komunikatu o błędzie, który widzisz:

Błąd ustanowienia połączenia z bazą danych

Error Establishing Database Connection

Czy widzisz ostrzeżenie „Błąd nawiązywania połączenia z bazą danych” na każdej stronie twojej witryny? Ten komunikat jest wyświetlany z różnych powodów, takich jak uszkodzona baza danych lub problemy z twoim serwerem WWW.

Jeśli widzisz ten błąd podczas próby logowania się, zapoznaj się z naszym przewodnikiem na temat poprawki błędu nawiązywania połączenia z bazą danych w WordPress.

500 Wewnętrzny błąd serwera

Internal Server Error

Innym błędem WordPressa, na który może natknąć się początkujący, jest „Wewnętrzny błąd serwera” lub czasami „500 Wewnętrzny błąd serwera”. Ten błąd jest wyświetlany, gdy coś jest nie tak, ale serwer nie jest w stanie zidentyfikować problemu.

Jeśli widzisz ten komunikat, gdy próbujesz logować się do WordPressa, wykonaj kroki opisane w naszym przewodniku na temat poprawki błędu wewnętrznego serwera 500 w WordPressie.

Błąd 404 „Nie znaleziono

Czasami użytkownicy popełniają błąd podczas zmiany adresu WordPress i adresu witryny w ustawieniach WordPress. Następnym razem, gdy próbują logować się do swojego obszaru administracyjnego, widzą błąd „Błąd 404 – Nie znaleziono”.

WordPress Address and Site Address

Jeśli tak się dzieje w twoim przypadku, to możesz sprawdzić nasz przewodnik na temat zmiany adresów URL witryny WordPress. Nie będziesz mógł skorzystać z metody 1, ponieważ nie będziesz mógł się logować, ale pozostałe metody powinny wyciągnąć cię z kłopotów.

Uwaga: Jeśli możesz logować się do swojej witryny, ale zobaczysz błąd 404 podczas przeglądania jednego z twoich wpisów, to masz inny problem. Możesz dowiedzieć się, jak poprawić ten problem w naszym przewodniku na temat tego, jak naprawić wpisy WordPress zwracające błąd 404.

Błąd 403 Forbidden

Forbidden Error

Niektórzy użytkownicy zgłaszają błąd „HTTP Error 403 – Forbidden” podczas próby logowania się do wp-admin. Błąd ten może być spowodowany nieprawidłowymi uprawnieniami do plików, źle zakodowanymi wtyczkami zabezpieczeń lub konfiguracją twojego serwera.

Jeśli widzisz ten błąd, to nasz przewodnik o tym, jak poprawić błąd 403 Forbidden Error w WordPress pomoże ci wyśledzić i naprawić problem.

401 Nieautoryzowany błąd

Unauthorized Error

Innym komunikatem, który możesz zobaczyć, gdy jesteś zablokowany w panelu administracyjnym WordPress, jest błąd 401. Temu błędowi czasami towarzyszy komunikat „Odmowa dostępu z powodu nieprawidłowych danych uwierzytelniających” lub „Wymagana autoryzacja”.

Możesz zobaczyć ten komunikat, jeśli twój katalog administracyjny WordPress jest zabezpieczony hasłem. Może to być również spowodowane wtyczką zabezpieczającą WordPress lub zabezpieczeniami podjętymi przez twoją firmę hostingową.

Zapoznaj się z naszym przewodnikiem na temat poprawki błędu 401 w WordPress, aby poznać sześć rozwiązań, które pomogą ci odzyskać dostęp do twojej witryny internetowej.

Ograniczona liczba logowań

Limited Logins

Domyślnie WordPress pozwala użytkownikom wpisz hasła tyle razy, ile chcą. Hakerzy mogą próbować to wykorzystać, używając skryptów, które wpiszą różne kombinacje, aż twoja witryna internetowa pęknie.

Aby temu zapobiec, zalecamy ograniczenie liczby nieudanych prób logowania na użytkownika. Może to jednak oznaczać, że zostaniesz zablokowany na swojej witrynie internetowej, gdy zbyt wiele razy wpiszesz nieprawidłowe hasło.

Jeśli jesteś w takiej sytuacji, to powinieneś wykonać kroki opisane w naszym przewodniku, jak odblokować Limit Prób Logowania w WordPress.

Biały ekran śmierci

White Screen of Death

Czy widzisz biały ekran w twoim panelu administracyjnym WordPress? Problem ten jest często określany jako biały ekran śmierci WordPress.

Dzieje się tak po wyczerpaniu limitu pamięci. Może to być spowodowane źle zakodowaną wtyczką lub motywem albo zawodnym hostingiem.

Jeśli widzisz ten błąd, zapoznaj się z naszym przewodnikiem na temat poprawki białego ekranu śmierci WordPress.

Problem z nieprawidłowym hasłem

Incorrect Password Issue

Nie ma nic bardziej frustrującego niż informacja, że użyłeś niewłaściwego hasła, gdy jesteś pewien, że tego nie zrobiłeś, a nawet sprawdziłeś, czy twój Caps Lock nie jest włączony.

Może się tak zdarzyć, jeśli padłeś ofiarą włamania lub po prostu popełniłeś uczciwy błąd.

Co gorsza, gdy próbujesz zmienić swoje hasło, nigdy nie otrzymujesz e-maila, ponieważ trafia on na adres, do którego nie masz już dostępu.

Na szczęście istnieje inny sposób i możesz zresetować twoje hasło WordPress z phpMyAdmin. Ta metoda może być nieco przytłaczająca dla nowych użytkowników, ale jest twoją najlepszą nadzieją na odzyskanie dostępu do obszaru administracyjnego.

Problemy z wtyczkami

Możesz być zablokowany w panelu administracyjnym WordPress z powodu wadliwej wtyczki lub motywu. Może się tak zdarzyć, jeśli nie możesz logować się do panelu administracyjnego WordPress po zainstalowaniu nowej wtyczki lub jeśli komunikat o błędzie zawiera treść „wp-content/plugins/”.

Deactivate All Plugins

Aby odzyskać dostęp do twojej witryny, będziesz musiał tymczasowo wyłączyć wtyczki. Możesz to zrobić za pomocą FTP lub phpMyAdmin, postępując zgodnie z naszym przewodnikiem krok po kroku, jak wyłączyć wszystkie wtyczki, gdy nie masz dostępu do wp-admin.

Utracone uprawnienia administratora

Czasami możesz logować się do swojego panelu administracyjnego WordPress, ale nie widzisz żadnych funkcji administracyjnych. Na przykład nie masz dostępu do twoich motywów lub wtyczek.

Może się to zdarzyć, jeśli twoje uprawnienia użytkownika zostały zmodyfikowane. Możliwe, że hakerzy zainfekowali twoją witrynę, a następnie usunęli uprawnienia administratora.

W takim przypadku należy dodać użytkownika admin do bazy danych WordPress poprzez MySQL (phpMyAdmin).

Add an Admin User via MySQL

Zhakowana witryna WordPress

Jeśli podejrzewasz, że twoja witryna została zhakowana, możesz podjąć inne kroki.

Zhakowana witryna internetowa może wyglądać inaczej, wyświetlać inną treść lub automatycznie odtwarzać muzykę lub inne multimedia. Co gorsza, może infekować odwiedzających twoją stronę wirusami, więc musisz działać szybko.

Możesz zacząć od naszego przewodnika dla początkujących, jak poprawić twoją zhakowaną witrynę WordPress. Pokażemy ci, jak zidentyfikować włamanie, przywrócić twoją witrynę z kopii zapasowej i usuwać wszelkie złośliwe oprogramowanie.

Następnie powinieneś zabezpieczyć swoją witrynę przed przyszłymi atakami. W naszym przewodniku po zabezpieczeniach WordPress pokazujemy, jak to zrobić.

Odświeżanie i przekierowywanie strony logowania

Login Page Refreshing and Redirecting

Innym rodzajem błędu logowania jest sytuacja, w której twoja strona logowania WordPress ciągle się odświeża i przekierowuje z powrotem do ekranu logowania.

Może się to zdarzyć z powodu nieprawidłowych wartości pól adresu URL witryny i adresu domowego w tabeli opcji WordPress. Może to być również spowodowane źle skonfigurowanymi ustawieniami bezpośredniego odnośnika lub przekierowaniami ustawionymi w pliku .htaccess.

Aby rozwiązać ten problem, sprawdź nasz przewodnik na temat tego, jak naprawić problem z odświeżaniem i przekierowaniem strony logowania WordPress.

Błąd „To zostało wyłączone

Kiedy próbujesz logować się do twojego obszaru administracyjnego WordPress, widzisz błąd „To zostało wyłączone”? Ten komunikat jest wyświetlany, gdy użytkownik przeszedł do niewłaściwego adresu administratora.

Powszechną praktyką zabezpieczeń WordPress jest zmiana domyślnego adresu URL logowania administratora (domain.com/wp-admin) na coś własnego. Może to zapobiec atakom hakerów i botów na twój adres URL logowania w celu uzyskania dostępu.

Jeśli zapomnisz, że adres URL został zmieniony i przejdziesz do starego, zobaczysz ten komunikat o błędzie. Jeśli zapomniałeś poprawnego adresu, powinieneś zapoznać się z naszym przewodnikiem dla początkujących, jak znaleźć twój adres URL logowania do WordPress.

Błąd „Chwilowo niedostępny z powodu zaplanowanej konserwacji

'Briefly Unavailable for Scheduled Maintenance' Error

Czy widzisz błąd „Chwilowo niedostępny z powodu zaplanowanej konserwacji” w WordPress? Błąd ten pojawia się zazwyczaj podczas aktualizacji rdzenia WordPressa, wtyczek lub motywów.

Ale jeśli twoja witryna WordPress nie zakończy aktualizacji, utkniesz w trybie konserwacji.

Aby naprawić problem, powinieneś zapoznać się z naszym przewodnikiem na temat tego, jak poprawić błąd Briefly Unavailable for Scheduled Maintenance w WordPress. Przewodnik wyjaśni również, dlaczego występuje ten błąd i jak go uniknąć w przyszłości.

Błędy składni PHP

PHP Syntax Errors

Błędy PHP mogą wystąpić po wklejeniu fragmentu kodu z poradnika lub witryny internetowej WordPress. Nieprawidłowy kod może uniemożliwić prawidłowe działanie twojej witryny internetowej i logowanie się użytkownika.

Często początkujący korzystają z wbudowanego edytora WordPress z poziomu kokpitu. Ta funkcja jest przydatna, ale może prowadzić do katastrofy, jeśli nie wiesz, co robisz.

Właśnie dlatego napisaliśmy nasz przewodnik dla początkujących dotyczący wklejania fragmentów kodu z sieci do WordPressa.

Uwaga: W wielu przypadkach bezpieczniej jest użyć wtyczki fragmentów kodu, takiej jak WPCode, zamiast bezpośrednio wpisz własny kod. Więcej szczegółów można znaleźć w naszym przewodniku na temat bezpiecznego dodawania własnego kodu w WordPress.

Jeśli jesteś zablokowany w panelu administracyjnym WordPress z powodu fragmentu kodu, będziesz musiał poprawić problem ręcznie za pomocą programu FTP, takiego jak FileZilla, aby uzyskać dostęp do twoich plików. Jeśli nie jesteś zaznajomiony z FTP, zapoznaj się z naszym przewodnikiem dla początkujących na temat FTP.

Po połączeniu się z twoją witryną WordPress za pomocą oprogramowania FTP, powinieneś postępować zgodnie z naszym przewodnikiem na temat poprawiania błędów składni w WordPress, aby poprawić lub usuwać dodany kod.

Twoja witryna doświadcza problemów technicznych.

Site is experiencing technical difficulties

Czasami, gdy próbujesz uzyskać dostęp do obszaru administracyjnego WordPress, możesz zobaczyć biały ekran lub komunikat „Witryna ma problemy techniczne. Sprawdź skrzynkę e-mail administratora twojej witryny, aby uzyskać instrukcje”.

Będziesz musiał logować się na twoje konto e-mail administratora i otworzyć skrzynkę odbiorczą.

Powinieneś zobaczyć automatyczny e-mail z WordPressa, który powie ci, który motyw lub wtyczka powoduje problemy na twojej witrynie. Zawiera ona również odnośnik do logowania, dzięki któremu możesz uzyskać dostęp do swojego panelu administracyjnego WordPress.

Email from WordPress about technical problem in your site

Po prostu kliknij odnośnik, a będziesz mógł uzyskać dostęp do twojego administratora WordPress w trybie odzyskiwania. Następnie należy wyłączyć wtyczkę lub motyw powodujący problemy na twojej witrynie.

Może się jednak zdarzyć, że nie otrzymasz e-maila z odnośnikiem do logowania. W takim przypadku zapoznaj się z naszym przewodnikiem na temat korzystania z trybu odzyskiwania WordPress.

Mamy nadzieję, że ten poradnik pomógł ci poprawić problem „zablokowanego administratora WordPress”. Możesz również dowiedzieć się, jak wybrać najlepszy hosting WordPress lub sprawdzić naszą listę wtyczek, które musisz mieć, aby rozwinąć swoją witrynę internetową.

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.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

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.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

231 komentarzyZostaw odpowiedź

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

    I seem to have a hacker trying to access my back end using the Admin account and they keep locking me out of my own site. Is there a way to reset this lockout since this seems to be happening quite often to my site. I try to block the IP addresses of the hackers once I get access back but low and behold they did it again. Locked out and can’t login as Admin.

    Once I get back in I will prob create another user with all access so I am not completely locked out again but being locked out as Admin is getting quite frustrating. I think it is a plugin I installed that is setup to block the user if they fail to login correctly, too bad there is no way to assign an IP address to my Admin user since I have a static IP and only log in from the same internet connection when editing my site

    Any ideas on what I should do? thanks!

  3. Eline says

    So I changed a code in functions.php and therefore an error occurred. My website isn’t loading anymore and I can’t log into the admin. I tried using FileZilla and followed the exact steps as you described. I was able to change the functions.php and removed the code. However, my website is still not working. I really don’t know what to do, hope you can help.

    • WPBeginner Support says

      Do you see an error message when you visit your website?

      Are you sure you fixed the correct functions.php file? Each WordPress theme installed on your site has a functions.php file.

      Try switching to a default theme by renaming, /themes/ folder to /themes.old/ inside wp-content directory. Then create a new themes folder and then download Twenty Sixteen theme from WordPress.org. Unzip the theme and upload it to the new themes directory.

      Administrator

      • Eline says

        Hi, I managed to fix my website by replacing my functions.php in FileZilla by the functions.php from my theme which I found on the internet. Thank you for all the helpful information because otherwise I wouldn’t have known about FileZilla. I’m relieved that my website is fixed now!

  4. Nedžla says

    Hello,

    I tried to change the footer letter color in the code (imported the code and deleted it in 2 or 3 places). Now I can not access my admin or open the page. It is a HTTP ERROR 500! Please help, it is my first page on WordPress and I do not want to loose it! Thank you.

  5. Martin says

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-login.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-login.php on line 403

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-includes/pluggable.php on line 898

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-includes/pluggable.php on line 899

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-includes/pluggable.php on line 900

    Warning: Cannot modify header information – headers already sent by (output started at /home/windwapc/public_html/wp-content/themes/madar-lite/inc/customizer.php:392) in /home/windwapc/public_html/wp-includes/pluggable.php on line 1171

    This is what I see in my screen when I click on view admin in other to access my dashboard Please someone should help me.

    • WPBeginner Support says

      Seems like issue with a theme or plugin installed on your site. Try deactivating all plugin and switching to a default theme like Twenty Sixteen. This will help you figure out which plugin or your theme is causing the issue.

      Administrator

      • Teresa says

        I have the same issue, however I cannot even log into my dashboard. I did go to my pluggable.php file and deleted all the spaces and extra lines but the problem still persists.

        • WPBeginner Support says

          Hi Teresa,

          Why you deleted the pluggable.php file? It is a core file and you are not supposed to delete it. Please download WordPress, extract it on your desktop, locate the file pluggable.php in the wp-includes folder. Use an FTP client to upload this fresh file back to your website.

          We are assuming that you added some code to functions.php file which caused errors on your website. Please take a look at the steps mentioned in our WordPress troubleshooting guide for beginners for more detailed steps.

  6. Sharon Sinclair says

    Hello, I`m in a right mess with my new site. A friend set it up for me to edit – which I did, BUT then I decided to change the URL as it had his name in it – and now I cannot get into it at all.

    Would anyone have any idea how I can overcome this issue?

    Many thanks in advance

  7. Karen says

    Greetings all,

    I am new to the world of websites, and while trying to find a way to add 'Read More’ buttons to the TwentyTweleve Theme, I added some code into the functions.php file and am now locked out :|

    I have reviewed the repair option, however I do not have a web host as I am still learning, and just use the wamp server to view my site. As a result I cannot use the FTP option and am hoping there is another way back in – please help.

    • WPBeginner Support says

      you can just go to the wamp folder on your computer. Inside it you will find www or htdocs folder which contains your WordPress files. Locate the twenty twelve theme folder in /wp-content/themes/ and undo the changes in functions.php

      Administrator

  8. Juliana says

    I am helping a friend tweak a few things on her site (I’m a WP beginner). I made a few small changes (linked her instagram, edited a post, etc). Today when I tried to access the site (Main page & admin page)I got a 504 error message (Gateway Timeout). So I contacted the Web host and they said it was the theme that was causing it to crash. They changed the theme back to the default and I can now see the site and access the admin panel.

    The thing is, I really want to use that theme I had before, as that’s the theme she’s had for two years (with no problem) and she likes it.

    Any ideas what the problem could be? After it had been restored to the default theme, I tried changing it back to the previous theme and got the same error message and had to have my server put it back to default (twentyfifteen) Thanks!

  9. Jim Stevenson says

    I started a second website cloned the existing site to it. Both sites are meant to be independent but thought it would save time to clone the first and then update it.
    Problem is I cannot log into the new site, my log in takes me only to the first site.
    How do I create a new log in for the new site?
    Do I have to start all over?
    Thanks for any tips and instructions!

  10. Misty Lounsbury says

    had my WP files in sub-domain
    built site and done then went to replace existing site with index.php copy from the sub directory and now the site isn’t loading properly and I can not sign into the admin panel as it wont give me a sign on window

    Please help

  11. Amber Albrecht says

    Help! What do I do? I have a WordPress website hosted by another woman and her domain. She passed away unexpectedly. How do I take over paying for the site to keep it going? I have been running it for a year and promised her I would keep it going if something ever did happen. I do not have her admin info. I only have her domain name and my info.

    • WPBeginner Support says

      Amber, it would be complicated. First, you will have to find out who is hosting the website. There are many online tools that can help you find out who is hosting the site by just entering the site address. Once you have found out the hosting company, you need to reach out to them.

      You will be asked to provide power of attorney, copy of death certificate, your identification information. In case you do not have power of attorney, then you will need to reach out to the next of kin or the estate who has control over the deceased belongings. They will have to separately contact the hosting company, provide them the same information, and give you the control of the site. After that you will be able to pay for the site and use it.

      Hope this helps.

      Administrator

  12. Andreas says

    Hi! I think you are the guys to help me. I was fooling around with my site last night, trying to set upp custom pages for specific users. Everything was working fine when I called it a night, but today it’s another story. When trying to login, I just get the error message „Blocked” on a otherwise white page. Any ideas what’s going on?

  13. Norm says

    Hi , I’m trying to fix a website for someone but the wp login page says A username and password are being requested by . The site says: „Restricted” instead of showing the login screen . The password and username are correct but it will not accept either , is there anyway around this without having to deactivate wp or loose any of the information in the website ? Any help will be greatly appreciated

    Thanks

  14. Ed Mooney says

    I’ve had a blog, „Mists on the River” {formerly „Dusk to Dawn”) for six or eight years. I usually have no trouble entering a new post.

    Today my page appears as it would for any reader, but I can’t get the panel that let’s me open a new post, to appear, and the „edit” button at the bottom of my posts isn’t there.

  15. Angela MacGray says

    Hi! Thanks for much for your assistance.

    I recently updated to the latest WP version,
    and now when I try to log in to my site, I can’t. There is a string of error messages pertaining to PHP and a plugin that seems to have gone awry.

    The first code looks something like this, although there are multiple, and all pertaining to the same plug in on line 152
    :
    Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in wp-content/plugins/easy-contact-forms/easy-contact-forms-database.php on line 152

  16. E. Hutchinson says

    I was installing and setting the settings of a membership plugin and I think I didn’t create the login page. I accidently logged out and I have a „coming soon” plug in running, so now when I try to login I only get the coming soon splash page. Is there something i can do on the server side to regain access or deactive the coming soon plugin?

  17. John says

    Hi, I did a terrible mistake. By default the domain was example.org, but trying to solve some other plugin related issue, I modified the .htaccess file and included a rule to redirect it to http://www.example.org. Dont have ftp access. So now even if I enter correct user/pass in my wp-admin, I get redirected to the same http://www.example,org without any error. Please help.

    • WPBeginner Support says

      You can simply download your htaccess file to your computer for backup. After that delete it from your server. Access your website, go to admin area and then Settings -> Permalinks. Click on the update button to refresh your .htaccess file.

      Administrator

  18. Obidigwe Kenechukwu says

    Firstly is to thank you of your enormous supports that I got from reading your articles for the past few months I started my new website. I really appreciate.

    MY PROBLEM
    I always get „504 Gateway Error” most times I want to Publish a post/page/Image from my WP-admin section.
    I have sent countless of mails to my Hosting provider „Whogohost” but there feedbacks aren’t helping and the problem persists. Though the problem re-occurs temporarily but lasts up to days; It sucks.

    2 Users I added on the website complained they were unable to post on the website using the „WordPress apps on android and blackberry phones”.

    Please I will be glad to get your solution on this problem of mine.

    Thanks and remain blessed.

  19. Brandi says

    I have a problem outside of these options and I’m so clueless on the subject that I don’t even know which way to direct myself. My brother hosted the non-profit website that I update. He has since burned personal bridges and it appears professional, as well, as I can’t access our site. I don’t know if he just stopped paying the wordpress fees, but I have no access. When I go to the actual website, my last update a few months ago is still there. Is there any way to access this wordpress account and establish on my own or do I need to create an whole new website?

  20. Arpit Jain says

    Hi,
    my website that is has got hacked and whenever I try to open the wp-login/wp-admin it shows the original page to me.
    Please tell me what should I do to retrieve my website

  21. Wayne says

    Hello,

    I am completely locked out of my site and cannot access my dashboard. I have multiple user accounts that I use for testing and all of them are locked as well. When I try to log in I get „ERROR: The password you entered for the username spiderwayne is incorrect. Lost your password?”.

    Password Reset
    I tried to reset my password but after I click on the link I get in email to reset it I get a page that says „Your password reset link appears to be invalid. Please request a new link below.”

    I tried to register as a new user and get this message „ERROR: Couldn’t register you… please contact the webmaster !”

    I thought it was the Them-My-Login plugin because this seems to happen after I installed an update from them. So I FTP’d into my site and renamed it. So then when I tried to log in I was back at the default WordPress login page but again I try to log in I get that failed message saying „ERROR: The password you entered for the username spiderwayne is incorrect. Lost your password?”. By the way I also tried logging in using my email address.

    Next I renamed my whole Plugin directory so all the plugins would be disabled.. and I still can’t get in.

    Earlier today I went into phpMyAdmin and I changed the password (md5) on one of my accounts and again it didn’t work.

    The only think I can think of now but really don’t want to do is wipe out my site, get rid of the database and wordpress, reinstall everything and rebuild from a backup from last week and hope I don’t rebuild it with the same problem.

    Anything else you can think of for me to try?

    Thanks,
    Wayne

    • WPBeginner Support says

      Try backing up your themes directory and .htaccess file, and then delete them from your server. Create new themes directory and download fresh copy of a default theme. Upload that theme and then try to access your website.

      Administrator

  22. Carrie says

    I’ve been scouring the Net for an answer and was hoping someone here can help! I was granted admin access to a friend’s blog and was temporarily locked out because I was trying to enter the wrong password. I was able to get it corrected but now every time I leave a comment on her site, my comment is held in moderation. I have all appropriate permissions; in fact when readers comment, nobody’s comment is set to be held in moderation! I have a suspicion WP has my IP address (and/or username) tagged due to the lockout. Do you know of a way we can fix this? I’ll be writing regularly for her blog and it’s a pain to be at a laptop logged in just to respond to reader comments. Thank you!

    • WPBeginner Support says

      A number of possibilities here:

      1. There is some security plugin installed that has blacklisted your ip address.
      2. Go to Settings > Discussion scroll down to comment moderation and blacklist boxes and see if your username or ipaddress is listed there.
      3. Akismet is catching your comment as false positive. In that case please contact Akismet support.

      Administrator

  23. Deborah says

    Hey, so there are days where the backend decides to work and some days not.

    When I type in the URL for the backend, it either lets me through or it redirects me to the front end.

    I don’t know how to fix this!

    -I already cleared all cache and cookies

  24. Sybil says

    How do I fix this when I login to my page I don’t see the dashboard. It says I need to update to version 4.2. This is on the home page of my website:

  25. Jai Kumar says

    Hi, I have 2 websites with WordPress. The main website is http://www.example.com and the sub website is http://www.example.co.uk
    I have lost the control on the main (.com) website. I am trying to login with wpadmin but it’s saying „ERROR: The password you entered for the username h is incorrect. Lost your password?” I tried your method but nothing help. I still have access with .co.uk website. Could you help me please?

    Thanks in advance.
    Jai

  26. Yvonne Bertoldo says

    Hi, i am hacked and i cant access my wp-login. It only shows 500 internal server error. Help pls. Thank you:)

  27. Brian says

    Got a bit of an odd situation here. I’m doing some marketing consultation for a company who has lost control of its Word Press site. The setup email was registered by an employee who is now disgruntled, and hasn’t been with the company for over a year. The password was known for the past year, but recently forgotten. The reset function is linked to his email address and he’s not responding to anyone’s requests to transition control over to the company owners.

    Is there a way for the owners to prove their ownership and put the admin email in their own hands without having to get the former employee to be involved in any way?

    We have a major marketing program that just went live and the lack of being able to access and update the website is causing serious financial harm to the company.

    Please help!

    Are there any readily available solutions that don’t involve the expense of making this a legal matter?

  28. Marah B says

    Hi! I locked myself out of my admin page on my website adding a google ad under Appearance/Editor/Theme Functions. I tried downloading the FTP files that you recommended to help correct this mistake and they won’t open for me (I have a macbook pro).

    Please help :)

  29. Phil says

    I’ve changed the WordPress Address URL in the General Settings of my WordPress site thinking tha I was changing the page that showed as the Home page and now I can’t get access to the wp-admin.

    My website is also now showing as text and has no design to it.

    Help! Please! :)

    • WPBeginner Support says

      Connect to your website using an FTP client. Edit wp-config.php file. Add these two lines, just before the line '/* That’s all, stop editing! Happy blogging. */’

      define('WP_HOME','http://example.com');
      define('WP_SITEURL','http://example.com');
      

      Don’t forget to replace example.com with your own URLs.

      Administrator

      • Sarah says

        Thanks for that but when you do this and get back in, you cannot 'reset’ the url in the main admin area?

        Is there a way one can do this please?

  30. Diane La Costa says

    I am completely locked out of my wordpress. Cannot remember email used or password. I tried all of the emails that I still have access to.

    Is there a number or email to the people at wordpress that I could explain this problem to?
    I cannot find one anywhere! Help!

  31. Tyko says

    Hi

    I managed to make a change at the website and/or wordpress adress/URL under settings in admin. Since then as I try to log in I get Error 404 – Page Not Found.

    I can see the rest of the site and the text but the whole design is gone. Its all text.

    Plz guide me so that I can fix this!

  32. Dean Knight says

    Hi, I moved wordpress from domain.com/blog to the main directory using the steps as directed in under the heading „Moving Directories On Your Existing Server” on this page:

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site

    I know want to update wordpress and it wont allow me to do so.

    I am quite happy to make a back up and uninstall / reinstall wordpress and import, but, everytime I have done this in the past I never have images back in the media library and have to manually upload all images.

    Whilst this has been a bit of a drag in the past, the site I know need to do this for has hundreds of images on hundreds of pages.

    What is the best way around this??

    Many thanks

    Dean

  33. ozlem says

    Hi, I changed my admin password on myphp database exactly as instructed here, generating an md5 level password from the link in this tutorial. But now I cannot even reach my website and I get „error establishing database connection”. What can I do? Something went terribly wrong.

  34. Amit Dadhwal says

    Hi,
    I have wordpress Multisite. When i am trying to open my one of website its automatically start download & my website is not open even i have full access of my dashboard. How can i fix it.

  35. WPBeginner Staff says

    First lets get your site back.

    The reason you can’t connect to FTP using Filezilla is probably that you are entering incorrect hostname, username, or password. You can ask your webhosting provider to provide these details to you.

    Alternately you can use File Manager in cPanel. Login to your hosting account and find the File Manager. It is just like FTP only that it works inside your browser. Locate your functions.php file and edit it to remove the code you added earlier.

    As for adding Google Maps, checkout our guide on how to add a Google Map in WordPress.

  36. Doline Myburgh says

    Hi there.
    Hoping for some help. I’m new to WP, and still finding my feet. Managed to create a rather nice site, and as a final touch decided to ad a google map of some sort into the contact page. All the plug ins that I looked at called for the 'simple code’ to be incerted. But ofcourse I could not figure out WHERE exactly this should be incerted. So I googled, and it was suggested that the coding should be added into the function php. and the 'short code’ into the text part of widgets.
    Thus I added the coding at the end of the existing coding in the function php. and when I pressed the button, manage to make my whole site dissapear. I now KNOW NOT TO MESS WITH FUNCTION CODING.
    I know where the error occured, and could easily fix, if I could just get rid of the white screen.
    Then I read that I can try via FTP (Filezilla) and did use filezilla before, so that should be ok.
    NOT.
    I type in my host, username and password, and it runs it’s script, but then ends with red lettering: Critical error. Could not connect to server.
    Now what? Any other suggestions?

  37. Pete says

    I was messing around with „footer plhgins” and decided that they where troublesome. so I deleted one of them called „sticky footer” and in a sense, thats right, sticky. It messed up my home page and so trying different was to delete an invisible page „behind” the home page was taskfull but I did it however, when I went to put a „new” home page with the same data as the original, it worked but would not return to „home” when clicked from another page. I also noticed that certain words changed to blue and became ad words within my site. This after I added a security plugin the day before. so messing with another plugin to try and remove the malware, was unsuccessful so I brought out the big gun „spybot” to try and clean up the mess. Well, while doing so, I must have removed something and now I have zero access to my site, My wp-admin is not recognized as if it disappeared. what do I do the fix this? or how do I take the site dow and rebuild?

  38. Edwin Lynch says

    Okay. I was hacked. The whole server was royally hacked. I created a new username with admin permissions, but still couldn’t get in. They had changed all user usernames to admin but demoted the permissions on all. So what I did was 1. delete all security plugins and clean up your .htaccess 2. delete users with your email first. 3. create a new user with admin permission (like you say on this site – the exact tutorial I used). 4. Don’t try and log in with the new user. Use the lost password and the email address (not username). 5. I created a nasty password with the change password email and presto – I was in. Now it’s a matter of re-installing all plugins and clearing out other users.

  39. Steven says

    Hi. I need help. I have lost all access to my admin page on my website.
    I know I have not changed my password or user name. I have tried following the reset password help on the forums but I can not as of yet find any proof of purchase. Can you please advise me on what else I can do.
    Kind regards
    Steve

    • WPBeginner Support says

      Steven,

      We can not understand, why do you need proof of purchase to reset your password? Did you try contacting your webhost? Do you remember the email address associated with your WordPress account or web hosting account?

      Administrator

      • Steven says

        There was a password reset page that asked for website address and email address and also proof of ownership, that is why in my original message that I could not find proof of purchase as one of the questions was please provide your paypal transaction number.

      • Steven says

        There was a password reset page that asked for website address and email address and also proof of ownership, that is why in my original message that I could not find proof of purchase as one of the questions was please provide your paypal transaction number.
        My web host? I have UKcheapest would the be the host?

  40. Nick says

    Help!

    I am locked out of my admin. I have loaded the Plug-in: „Maven Member” which restricts access to specific pages. I was testing the registration pages by adding new members as basic subscribers or participants and I never got around to re-setting up my administration access through the plugin. Now when I enter in my username and password, it comes up as „Forbidden”

    I’m thinking that the plug-in overrides the original access (of Course) buy now I have no way of accessing my wordpress admin.

    I tried changing the names of the plugin file and the plugin root folder in the ftp – didn’t have an effect. And now, any attempt to login from the website, even when registering through the new plugin, for limited access, comes up as „forbidden”

    Any ideas. have a lot of work and no ability to do it.

    _ thanks in advance!

  41. Jrew says

    Getting Error Message: „Cannot modify header information”

    Neither my username or password have been changed and I am locked out of one of my WordPress accounts.

    Anyone recognize this error message and know what to do to get around it?

    -Jrew

    • WPBeginner Support says

      Do you remember the last thing you did before getting this message? Most probably you installed a plugin or changed some code. You would need to deactivate all your plugins or undo the changes you made before getting this error.

      Administrator

  42. Emma says

    Help I am locked out of my WordPress completely. I tried to set up a password protection for one of my pages within the .htaccess :

    AuthType Basic
    AuthName „restricted area”
    AuthUserFile /home/yourusername/html/protected-dir/.htpasswd
    require valid-user

    When I tried to change it back it kept a asking for a username and password. I was not aware i gave it one. Noe even the public cannot access the website without a username and password. PLEASE HELP!

  43. Winfred Mkochi says

    I have been locked out because I was trying to change domain name (Site and Home). How can I get access to my Dashboard again?

  44. Lee Williams says

    I have a WP site and it has been hacked by the „Turk Hack Team” They have changed my password. Changed my email address to access password reset and they have some how deleted my user name too. When I try for recovery using the „recovery account form” it tells me I don’t have an account. Says I must be on WordPress.org not WordPress.com. But the last password resets in my emails are .com.
    I haven’t got a clue where to start! don’t even know how to contact WordPress to prove I own my domain and site!!!!
    How are you suppose to get it fixed if you cant make contact?

    • WPBeginner Support says

      Contact WordPress.com support. They have other ways for you to prove your ownership of the blog. On the other hand if your site was on WordPress.org you would have had much better control on your site and you could have recovered it without relying on a third party.

      Administrator

  45. Sue Ellam says

    My website is nearly complete but my web designer has gone sick and I have no access to the site to get it finished as he never gave me the passwords. The designer isn’t in communication with me at all as I understand he is seriously ill and I don’t want to have to start again from scratch.

    What do I do please? Surely there must be a way of accessing the website in this kind of scenario. I have proof of ownership and the site has been paid for.

    I would really appreciate your advice.

    Thank you.

  46. Anne says

    I am desperately looking for help. I am locked out of my WordPress blog, because the Log In does not recognize my password. Every time I am prompted to change it, I do, and it is rejected every time. Every solution to my issue involves being on my blog and I can’t get on. Is there any tech support available.

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.