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

Wie behebt man das Problem mit dem Aktualisieren und Weiterleiten der WordPress-Anmeldeseite?

Hinweis der Redaktion: Wir erhalten eine Provision für Partnerlinks auf WPBeginner. Die Provisionen haben keinen Einfluss auf die Meinung oder Bewertung unserer Redakteure. Erfahre mehr über Redaktioneller Prozess.

Wird Ihre WordPress-Anmeldeseite ständig aktualisiert und umgeleitet, wenn Sie versuchen, sich auf Ihrer Website anzumelden?

Dieses Problem sperrt Sie aus dem WordPress-Verwaltungsbereich aus, so dass Sie nicht an Ihrer Website arbeiten können.

In diesem Artikel zeigen wir Ihnen, wie Sie das Problem der Aktualisierung und Weiterleitung der WordPress-Login-Seite beheben können.

Fixing the login page redirect and refresh issue in WordPress

Was verursacht die Login-Seite aktualisieren und Redirect Problem in WordPress?

Der Fehler beim Aktualisieren der WordPress-Anmeldeseite und bei der Weiterleitung wird in der Regel durch falsche WordPress-URL-Einstellungen oder das Versäumnis, Cookies für die Anmeldung zu setzen, verursacht.

Wenn Sie sich anmelden, überprüft WordPress normalerweise Ihren Benutzernamen und Ihr Passwort und setzt dann ein Anmelde-Cookie in Ihrem Browser. Danach leitet es Sie zum WordPress-Dashboard weiter.

Wenn WordPress das Login-Cookie nicht korrekt setzt oder die URL des WordPress-Administrationsbereichs nicht korrekt ist, werden Sie zurück zum Login-Bildschirm anstatt zum Admin-Dashboard geleitet.

Login page redirect issue in WordPress

Login-Probleme können auch durch verschiedene WordPress-Fehler verursacht werden, wie z. B. den Fehler beim Aufbau der Datenbankverbindung, einen internen Serverfehler oder den weißen Bildschirm des Todes.

In diesem Sinne, lassen Sie uns das Problem der Umleitung und Aktualisierung der WordPress-Anmeldeseite suchen und beheben. Sie können diese schnellen Links verwenden, um zu einer bestimmten Methode zu springen:

Hinweis: Wenn Sie die fortgeschrittenen Schritte in diesem WordPress-Tutorial ausprobieren möchten, erstellen Sie bitte zunächst ein Backup Ihrer Website. Siehe unsere Anleitung zur manuellen Erstellung eines WordPress-Datenbank-Backups.

Video-Anleitung

Subscribe to WPBeginner

Wenn Ihnen das Video nicht gefällt oder Sie stattdessen die schriftliche Version bevorzugen, dann lesen Sie bitte weiter.

Methode 1: Cookies löschen, um Login-Probleme zu beheben

WordPress verwendet Cookies für die Anmeldeauthentifizierung. Daher ist der erste Schritt bei der Behebung von Problemen mit der WordPress-Anmeldung der einfachste. Sie müssen die Cookies und den Cache Ihres Browsers löschen.

Klicken Sie in Google Chrome einfach auf das Menü „Browsereinstellungen“ und wählen Sie dann „Weitere Tools“ „Browserdaten löschen„.

Clear browsing data in Google Chrome

Dadurch wird die Chrome-Einstellungsseite mit einem Popup-Fenster „Browsing-Daten löschen“ auf dem Bildschirm angezeigt.

Hier müssen Sie die Optionen „Cookies und andere Websitedaten löschen“ und „Bilder und Dateien im Cache“ auswählen.

Clear cookies and cache in Google chrome

Klicken Sie anschließend auf die Schaltfläche „Daten löschen“, damit Google Chrome den Browser-Cache löscht.

Stellen Sie außerdem sicher, dass in Ihrem Browser Cookies aktiviert sind. Starten Sie danach Ihren Browser neu und versuchen Sie dann, sich anzumelden. Damit sollte das Problem für die meisten Leute behoben sein.

Wir haben eine vollständige Anleitung mit Screenshots, die zeigt, wie man den Cache und die Cookies in allen gängigen Browsern löscht.

Methode 2: WordPress-URL-Einstellungen aktualisieren

WordPress wird mit Einstellungen für die URL Ihrer Website und die URL Ihrer WordPress-Installation geliefert.

Wenn Sie Zugang zu Ihrem WordPress-Administrationsbereich hatten, konnten Sie diese Option auf der Seite Einstellungen “ Allgemein sehen.

WordPress URL settings

Wenn diese URLs nicht korrekt sind, leitet WordPress Sie zurück auf die Anmeldeseite um.

Da Sie keinen Zugriff auf den WordPress-Administrationsbereich haben, müssen Sie die Datei wp-config.php bearbeiten, um dieses Problem zu beheben.

Die Datei wp-config.php ist eine spezielle Datei in WordPress, die Ihre wichtigen WordPress-Einstellungen enthält. Sie können mit einem FTP-Client oder über die Dateimanager-App in Ihrem WordPress-Hosting-Konto-Dashboard darauf zugreifen.

Editing wp-config.php file via FTP

Sie finden die Datei wp-config.php im Stammverzeichnis Ihrer Website. Bearbeiten Sie einfach die Datei und fügen Sie die folgenden Codezeilen ein, direkt vor der Zeile "That's all, stop editing! Viel Spaß beim Veröffentlichen".

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

Vergessen Sie nicht, „example.com“ durch Ihren eigenen Domänennamen zu ersetzen.

Danach speichern Sie Ihre Änderungen und laden die Datei wieder auf Ihre Website hoch.

Sie können nun Ihre WordPress-Website besuchen und versuchen, sich anzumelden. Hoffentlich ist das Problem damit für Sie behoben. Sollte dies nicht der Fall sein, lesen Sie weiter, um weitere Schritte zur Fehlerbehebung zu erfahren.

Methode 3: Löschen der .htaccess-Datei in WordPress

Manchmal kann die .htaccess-Datei beschädigt werden, was zu internen Serverfehlern oder einem Fehler bei der Aktualisierung der Anmeldeseite führen kann.

Greifen Sie einfach mit einem FTP-Client oder über die Dateimanager-App im Dashboard Ihres Hosting-Providers auf Ihre Website zu.

Sobald die Verbindung hergestellt ist, suchen Sie die .htaccess-Datei im Stammverzeichnis Ihrer Website und laden Sie sie als Sicherungskopie auf Ihren Computer herunter.

Wenn Sie Ihre .htaccess-Datei nicht finden können, kann Ihnen dieser Leitfaden helfen , warum Ihre .htaccess-Datei fehlen könnte.

Delete .htaccess file in WordPress

Danach löschen Sie die .htaccess-Datei von Ihrer Website.

Öffnen Sie als Nächstes das wp-admin-Verzeichnis, und wenn sich dort eine .htaccess-Datei befindet, löschen Sie auch diese.

Sie können nun versuchen, sich bei Ihrer WordPress-Website anzumelden. Wenn Sie Erfolg haben, bedeutet dies, dass Ihre .htaccess-Datei Sie daran gehindert hat, sich bei WordPress anzumelden.

Sobald Sie eingeloggt sind, gehen Sie einfach auf die Seite Einstellungen “ Permalinks im WordPress-Administrationsbereich und klicken Sie auf die Schaltfläche „Speichern“, ohne Änderungen vorzunehmen. Dadurch wird eine neue .htaccess-Datei für Ihre Website erstellt.

Methode 4: Deaktivieren Sie alle WordPress-Plugins

Manchmal können WordPress-Plugins dieses Problem verursachen, insbesondere wenn es einen Konflikt zwischen zwei Plugins gibt.

Um alle Ihre WordPress-Plugins zu deaktivieren, verbinden Sie sich mit einem FTP-Client oder über die Dateimanager-App in Ihrem Webhosting-Konto-Dashboard mit Ihrer Website.

Sobald Sie verbunden sind, gehen Sie zum Verzeichnis /wp-content/. Darin finden Sie einen Ordner namens „plugins“. Hier installiert WordPress alle Ihre Plugins.

Rename plugins folder to deactivate all plugins

Benennen Sie einfach den Plugins-Ordner in „plugins_backup“ um. Dadurch werden alle WordPress-Plugins, die auf Ihrer Website installiert sind, deaktiviert.

Wir haben auch eine ausführliche Anleitung, wie Sie alle WordPress-Plugins deaktivieren können, wenn der WordPress-Admin nicht erreichbar ist.

Sobald Sie alle Plugins deaktiviert haben, versuchen Sie, sich bei Ihrer WordPress-Website anzumelden. Wenn Sie Erfolg haben, bedeutet dies, dass eines Ihrer Plugins das Problem verursacht hat.

Methode 5: Zum Standardthema zurückkehren

WordPress-Themes können auch nach einem Upgrade auf eine neuere Version von WordPress oder des Themes selbst Konflikte verursachen. Um herauszufinden, ob das Problem durch Ihr Theme verursacht wird, müssen Sie es deaktivieren.

Der Vorgang ist ähnlich wie bei der Deaktivierung von Plugins. Stellen Sie mit einem FTP-Client eine Verbindung zu Ihrer Website her. Gehen Sie dann zum Verzeichnis /wp-content/themes/ und benennen Sie Ihr aktuelles Theme-Verzeichnis in „themes_backup“ um.

Versuchen Sie dann, sich erneut anzumelden. Wenn Sie Erfolg haben, bedeutet dies, dass Ihr Thema das Problem verursacht hat.

Sie können nun eine neue Kopie Ihres Themes installieren, um zu sehen, ob das Problem dadurch behoben wird. Wenn das Problem erneut auftritt, müssen Sie den Support Ihres Themes kontaktieren oder zu einem anderen WordPress-Theme wechseln.

Methode 6: WordPress Core neu installieren

In seltenen Fällen kann das Problem der ständigen Aktualisierung der Anmeldeseite durch beschädigte WordPress-Kerndateien verursacht werden.

Diese Kerndateien sind die Grundlage Ihrer WordPress-Website und verwalten wichtige Funktionen. Wenn diese Dateien beschädigt oder mit falschem Code überschrieben werden, kann dies zu verschiedenen Fehlern führen, einschließlich Problemen bei der Anmeldung.

Gehen Sie zunächst zu WordPress.org und laden Sie die neueste Version der Software herunter. Nachdem Sie die Datei heruntergeladen haben, entpacken Sie sie auf Ihrem Computer. Dadurch wird ein Ordner mit dem Namen „wordpress“ erstellt, der alle erforderlichen Dateien für die Neuinstallation enthält.

WordPress files

Als Nächstes müssen Sie eine Verbindung zu Ihrer Website herstellen, indem Sie einen FTP-Client oder den Dateimanager Ihres Hosts verwenden.

Sobald Sie verbunden sind, navigieren Sie zum Stammordner Ihrer Website. Dies ist das Hauptverzeichnis, das Verzeichnisse wie wp-admin, wp-content und wp-includes enthält.

Upload core WordPress files

In diesem Stadium nehmen Sie alle Dateien aus dem Ordner „wordpress“ auf Ihrem Computer und laden sie in das Stammverzeichnis Ihrer Website hoch.

Ihr FTP-Client wird Sie auffordern, das Überschreiben vorhandener Kerndateien zu bestätigen.

Da Sie beschädigte WordPress-Kerndateien löschen und durch neue ersetzen, wählen Sie „Überschreiben“ und die Option „Immer diese Aktion verwenden“, damit Sie nicht jede Datei einzeln bestätigen müssen.

Overwrite core files

Klicken Sie abschließend auf „OK“, um den Upload-Vorgang zu starten. Ihr FTP-Client wird die WordPress-Kerndateien auf Ihrer Website durch die neuen Dateien von Ihrem Computer ersetzen.

Sobald der Upload abgeschlossen ist, besuchen Sie Ihre Website, um zu sehen, ob der Fehler behoben ist. Wenn das Problem bei der Anmeldung durch eine beschädigte Kerndatei oder Malware verursacht wurde, sollte die Fehlermeldung verschwunden sein und Sie sollten sich erfolgreich anmelden können.

Erfahren Sie mehr WordPress Problembehandlung Lösungen

Treten bei Ihnen andere häufige WordPress-Fehler auf und müssen Sie einen Weg finden, um sie zu beheben? Hier sind andere Artikel, die Sie sich ansehen können:

Wir hoffen, dass dieser Artikel Ihnen geholfen hat, das Problem mit dem Aktualisieren und Weiterleiten der WordPress-Anmeldeseite zu lösen. Vielleicht möchten Sie auch unseren vollständigen WordPress-Leitfaden zur Fehlerbehebung lesen oder sich unsere Top-Tipps für die besten WordPress-Plugins und -Tools zur Erweiterung Ihrer Website ansehen.

Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.

Offenlegung: Unsere Inhalte werden von unseren Lesern unterstützt. Das bedeutet, dass wir möglicherweise eine Provision verdienen, wenn Sie auf einige unserer Links klicken. Mehr dazu erfahren Sie unter Wie WPBeginner finanziert wird , warum das wichtig ist und wie Sie uns unterstützen können. Hier finden Sie unseren redaktionellen Prozess .

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.

Das ultimative WordPress Toolkit

Erhalte KOSTENLOSEN Zugang zu unserem Toolkit - eine Sammlung von WordPress-bezogenen Produkten und Ressourcen, die jeder Profi haben sollte!

Reader Interactions

355 KommentareEine Antwort hinterlassen

  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. Warren Ganye says

    I first cleared the cache and cookies. Initially it didn’t work, i couldnt stop the log in loop. This was because i had redirected the url to a sub directory using .htaccess.

    I then had to delete the .htaccess file i had updated and created a new copy of it.

    After that i was able to log in my wp-admin. Then i went to settings to customise the permalinks settings tag base to the name of the subdirectory i had placed the wordpress installation so that my other pages besides the home page could work. :) Hope it helps

  3. Gavin says

    I’m able to log into WP Admin and then go to visit site and edit and browse from there on Internet Explorer. However on both google chrome and Safari, when I hit „Visit Site“ it just takes me back to the admin login page again.. and again etc. I’ve tried everything and I’m just not understanding why it’s letting me get on with life in Internet Explorer but not Google Chrome/Safari. If someone replies to this, thanks for thought and time in advance!

  4. Gilles says

    Hi,
    On my side, the limitation came from a MySQL limitation of 100 Mb in my formula (which I did not know). After having reduced it, I could have access again to WP-admin.

  5. Titus Raj says

    All above did not work for me.

    I migrated from 5.6 php to 5.4php hosting

    I then changed the new hosting to 5.6php then did migrate again, it worked.

  6. Shahkar says

    Hi. I tested every things but not worked for me.
    I wanted to create a backup from DirectAdmin but it appears an error in between backing up. It says the wp_usermeta is crashed and repair is not helpful for it.
    So I opened the SSH and after login to server, I writed:
    cd /var/lib/mysql/[DATABASE NAME]
    and then:
    myisamchk -r -v -f wp_usermeta
    So this table is fixed and my users can login after this.
    If you haven’t access to SSH you should contact your hosting support.
    I hope it will be useful

  7. Ather says

    Hey there! I have an active theme named ‚church‘ in which i’m customizing a website. When i install plugins and make changes over the website, it works pretty fine. but then when i logout to my wordpress account, the changes made are reverted back. Please help me out!
    Thanks in advance

  8. Kingsley says

    After entering my login details, wp will reload and it wont redirect me to my dashboard. I then read through your guidelines. I tried everything and it was not working for me. The worst is that when I got to the step of delete htaccess, i did it and i started receiving 404 Not Found error on my login page. Please assist

  9. Jason says

    One-man-show, do it yourself-er here… non computer wiz, banging my head against the wall for 4 days trying to fix this problem. Tried everything on this list, messed with my .htaccess and wp-config files a hundred different ways (which deleting all the .htaccess files worked for a second, until I resaved by permalink settings). . Also of importance was that I had used been using cloudflare for CDN purposes. Lastly, my problems coincided with switching hosting. So after trying everything here and about 1.5 hours on the phone with tech support at my hosting, it ended up being that I had a conflict with the www CNAME record. I serve my site as www and apparently the CNAME record with my new (actually original) host was still pointing at cloud flare. I „paused“ my site with cloud flare, and updated the www CNAME record in my web host’s cPanel’s Advanced DNS Zone Editor by removing the (mynamerserver.cloudflare) from the end of themysite.mynameserver.cloudflare.com. Now the www CNAME is simply named mysite.com. Viola! Logged back in and all is good. Phew! On to the next fire, which is now that some of my navigation links on my site are 404-ing…but that’s for another thread. Thanks for this page and the active nature of this site, has already helped me fix/learn a ton.
    Cheers!

  10. Craig Hodge says

    I have read through the entire article, and every single comment, tried every idea that has been suggested, and about a dozen others, and nothing works. I am still unable to log in to wp-admin.

  11. Peter Vukovic says

    Another possibility is that your disk space is full. WordPress login will fail silently if this is the case.

  12. Vinny O'Hare says

    I had this issue and instead of going the ftp route I logged into my managewp account and logged in and resaved the permalinks and I was good to go.

  13. stephen miller says

    Since installing SSL 10 days ago we’re unable to log in to the WordPress blog (all the WP files sit in that directory). The login credentials are accepted but the login page redirects back to itself with fields empty, We’ve tried everything- including everything mentioned in this article:

    (Below the last of recommended fixes. The ‚x‘ means they were tried to no effect)

    x Clear Cookies to Resolve Login Issues

    x Deactivate All Plugins

    (x*) Revert Back to the Default Theme (there was no problem following a theme change 2 months ago)

    x Delete .htaccess File

    x Update Site URL (add these to wp-config.php)
    define(‚WP_HOME‘,’http://example.com‘);
    define(‚WP_SITEURL‘,’http://example.com‘);
    (Did those with no effect)

    We’re at our wits end with this. Would really appreciate some help. Remember we can only access the ftp files, not the WP admin area.
    If nothing else, can we make a new blog and transfer several years of critical posts to the new one? Or do a re-install of WP via FTP? Please help!

  14. vishal says

    after clicking the lost password in wordpress based my website still i am stuck over in the same page please help me with the same

  15. Connor G says

    Hi,

    I have the same issue you outline in this post, however I’m also getting a „This site is not Secure“ flag from Google which I was able to bypass through the ‚Advanced Options‘ under the warning. I’ve tried all of the above with no luck. Even adjusting my website url in the PHPmyadmin tool hasn’t stopped me from being redirected.

    Is there something else that has gone wrong here further than what you describe above, or is the Google security warning common with this issue?

    Thanks a ton!

  16. Lena says

    Hello there, I tried every trick and my wp-admin page still tell me „Sorry, you are not allowed to access this page.“ I try loging in through wp-login.php and I see a login page but it redirects me to our homepage. I tried deactivating plugins, themes, and unblocking my IP through wp-config.php with no luck. Any tips would be greatly appreciated! Thanks!

    • ATRYNA says

      We have same problem, but after a few minutes and keep trying to loging I can access my wp-admin and the dashboard running normally agan.

  17. Janice Roth says

    Hi WordPress experts,
    Would really appreciate a voice to calm my panic. My head is spinning. I am not a web expert, just a person setting up my own business site. My site is set up on WordPress, on a temp URL while I’m still building it. Using RT them 19. Been using it no problem for a while, but now I can’t access the site using my usual user name and password. Keeps saying not valid“

    Also, above the log in area there are a whole lot of lines that look like this.

    Only 1 looks like this
    Warning: ksort() expects parameter 1 to be array, object given in /home/content/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

    About 20 lines look like this
    Warning: Cannot modify header information – headers already sent by (output started at /home/content/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/html/wp-login.php on line 394

  18. barbara says

    i can’t log in. wordpress won’t accept my name, my password. won’t allow me to create a new reader account under a different address or name. i am completely locked out and have lost hundreds of feeds. i am NOT a blogger – only a follower, and wordpress seems only interested in bloggers, with little or no support for followers. i have tried changing my password several times and even when brand-new, it will not be accepted. i have called the phone number and have gotten either no answer or a message telling me that the number is no longer in service. i am so frustrated i just want my feeds back so i can export them to someplace else.

  19. Ryan says

    I did the last suggestion where you enter in
    define(‚WP_HOME‘,’http://example.com‘);
    define(‚WP_SITEURL‘,’http://example.com‘);

    Took a bit to figure out how to do it but it worked perfectly. Thanks!

    (BTW you can just do it through cpanel – file manager – and edit the code.)

  20. Kas says

    I solved it by going to the php my admin and wp_users by changing the username to something else (same for nickname etc..) and saved. Logged in again with the new name and same password and it worked.

  21. Nelson Mulama says

    I had the same problem on multiple migrated websites and none of the above stated solutions seemed to work.

    My problem arises from the fact that each time I do the migration, I create a totally new Word Press users who don’t have any posts or pages assigned to them.

    The thing with the wp-login.php (for my case) is it was redirecting me to the homepage as I didn’t have any content assigned to the user.

    Solution, went to the wp-posts table and assigned one article to the new user using userID (you will find this in your wp-users table)

    solved the problem

  22. Munna Hossain says

    It is really a common error of WordPress. I also faced this problem. But now I am Ok. All these options have not Worked. Thanks for sharing.

  23. peter says

    The redirect problem occurred for me after the DNS DDoS attack on Oct 21, 2016.

    I found a simple solution by including an admin page in the login path such as:

    yourdomain.com/wp-admin/nav-menus.php

    Login with this directed right to the menu panel.
    After logout, I was able to login normally with just /wp-admin.

    Don’t know why, but it worked!

    • Chris says

      Hey Peter, this happens to several of my websites as well. I normally go to wp-admin/theme-editor.php because it won’t let me login through wp-admin. When I click ‚Log In‘, it just refreshes the login page.

    • Lynn Spivey says

      Thanks Peter!
      Thanks so much for posting the link – my computer experience involves FaceBook and Amazon Prime, so I needed someone to tell me to type this and go here! Telling me to paste a code into something that I can’t even figure out how to access wasn’t working for me! I have spent a couple of days trying to log in and was just about to walk away for good! You saved the day, seriously. Hero! (:

  24. Renee Blundon says

    THANK YOU! This finally finally finally resolved the login and logout issues with my site. I owe you guys big time!! What did the trick was editing the wp-config file with these two lines:

    define(‚WP_HOME‘,’http://example.com‘);
    define(‚WP_SITEURL‘,’http://example.com‘);

    Thanks again, you guys are amazing!

    -Renee

  25. Niall Guerin says

    You are a superstar. Was really getting frustrated with other tips and guides. I followed your tips, 1 by 1. Nothing worked until the last one using the 2 define statements. In my case, I did a DNS update 72 hours ago. The DNS propagated to most locations within 12-24 hours, but the wp-admin completely failed. I used md5/password update via phpadmin from your other blog tip (also excellently written and illustrated) and was still having no joy so followed this guide as second step. As soon as I did it, the password invalid message then displayed after a test login. Then the password reset link started working also which did not work after all prior error checks. The reset mail was received and worked fine and all stable again. Really really appreciate you putting this together as you just sorted me out big time. Thanks. Niall

  26. Adeolu Adeyemi says

    Non of the above solutions worked for me. I had to check the php error log, and I saw this

    WordPress database error Duplicate entry ‚0‘ for key ‚PRIMARY‘ for query INSERT INTO `wp_usermeta` (`user_id`, `meta_key`, `meta_value`) VALUES (4, ’session_tokens‘, ‚a:1:{s:64:\“235054a04c368610fe278c9aa25e46f411483bbc6b9dd52fa4574b3ba4d5ecac\“;a:4:{s:10:\“expiration\“;i:1476532105;s:2:\“ip\“;s:3:\“::1\“;s:2:\“ua\“;s:109:\“Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\“;s:5:\“login\“;i:1476359305;}}‘) made by wp_signon, wp_set_auth_cookie, WP_Session_Tokens->create, WP_Session_Tokens->update, WP_User_Meta_Session_Tokens->update_session, WP_User_Meta_Session_Tokens->update_sessions, update_user_meta, update_metadata, add_metadata

    Querying the database to remove the umeta_id with id 0, did it for me.

  27. Dami3n says

    I run around 10 websites and never came across this problem until today. I closed my WordPress site by mistakes whilst doing a long edit. Not sure if this was the issue but on opening Firefox again an trying to login to WordPress i kept being redirected. I noticed i still got an error for logging in incorrectly.

    I set off to work to try and find a solution. Renamed theme folders plugins got rid of cache. Nothing worked. I decided this has to be a problem with the .htacess file. Now the problem you have is most sites that you go through a cpanel will not show this file. So grab something like filezilla. To find it. I re uploaded the exact same one to the server and it’s all back to normal must have been a brain fart…. just seems odd that exact same file has fixed the problem.

    [edit sorry]

  28. Craig says

    Great – had this problem for a few days where I sometimes couldn’t log-in, but mostly when I went to view site when I WAS logged in, I’d see the maintenance mode page, as if I wasn’t logged in! Defined the site in WP-Config and problem sorted.

    Thanks!

  29. Bhavya says

    Hello,

    My WordPress Dashboard => Home( Edit Page) still loading what we do?

    if i check in view page it shows my website(no errors in this page).

    can anyone Please Suggest me.

  30. Dave says

    I had this problem when a site was built a long time ago without using wordpress secret-keys in the wp-config.php file.

    When I added the secret keys to wp-config.php as part of upgrading the site’s security I was not able to login (even after trying all of the above fixes) and it seemed that the login page was just refreshing instead of bringing me to the wordpress dashboard.

    To solve the login-refreshing problem, I temporarily went back to my old wp-config.php file without the secret-keys and was able to log in.

  31. Kjetil says

    Last method worked – BUT the Settings > General > WordPress URL and Website URL are greyed out/ impossible to change + if I remove those two lines from wp-config.php the problem returns.
    ANY WAY to change the URL settings – and make them remain correct?
    Thanks
    PS I also tried to edit the database’s options table (and enter the correct site url in the first line there), but no luck.

  32. Julio Fermin says

    I trying everything and don’t work permanently. What I can do? I am using hostinger and a godaddy domain.

  33. Kingsley Iyke says

    Regarding wp-admin login not coming up, I have done all of the above suggestions but non could fix the problem. Can anyone help with new solution. I`ll appreciate. Kingsley Iyke

    • Van Hallman says

      I fixed my issue by removing the top 2 lines in my wpconfig.php which were referencing a non existent W# Total cache install.

  34. Janice says

    Excellent tutorial. Easy to figure out and best of all, following the instructions enabled me to solve my problem quickly!

    Turns out a plug-in was the culprit so by renaming the plugin folder I was able to deactivate them all and sign in. (Good thing to know for the future.) I then added them back one by one to determine which plugin was causing the problem.

    One thing … please don’t laugh … you have to double click on the plugin folder name to change it. I was right clicking on it to try to rename it (as you do in Windows file explorer) … minor detail I forgot about.

  35. Joni says

    Any tips if none of these work? Only have the redirect issue when trying to login to Admin. Site seems fine for viewing for everyone. Just the login issue to Dashboard.

    • Georg says

      Jepp, the same problem like before… I’ve tried all the tricks, but nothing works…
      Please help…
      All the other sites with the same WP version still running best – also the login. Only one of the sites (at another provider) doesn’t work (only the login, I mean).

      Sorry for my poor english…

      All the best
      Georg

      • Georg says

        Hello,

        I’ve found the problem: One or more of three of my plugins caused an data-overflow of one of the fields in the database.
        I’ve installed the problematic plugins:
        – Simple login log
        – Limit Login Attempts
        – Rich Counter

        The database has a total limit of 1024MB… but it used 1288MB and this caused the problem.
        After erasing the content of the database-fields of all of the three plugins and reconfiguring the settings of them, the login was functioning till today…

        Best Regards
        Georg

  36. Kingsley says

    Now of this works……. i suspect the database because when comparing it to default wp install AUTO_INCREMENT is missing from the „extra“ column on my database

Eine Antwort hinterlassen

Danke, dass du einen Kommentar hinterlassen möchtest. Bitte beachte, dass alle Kommentare nach unseren kommentarpolitik moderiert werden und deine E-Mail-Adresse NICHT veröffentlicht wird. Bitte verwende KEINE Schlüsselwörter im Namensfeld. Lass uns ein persönliches und sinnvolles Gespräch führen.