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, Anmelde-Cookies 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.

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 .

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

    You safe my life man! Just messed around the login wp admin site if it wasn’t for this tutorial I would never have solved the problem!

  3. Tomer says

    Thank you very much for this tutorial!
    I have tried these methods and managed to temporarily fix the problem.

    The thing is, that after everything seems to be working again, the next day it happens again. Without me changing anything at all. Any tips on that?

    • WPBeginner Support says

      You would want to reach out to your hosting provider to ensure there is nothing on their end that could be causing this conflict

      Admin

  4. Sulivan says

    For those who ended up here an after all steps could’t solve this, check if you changed table prefix. I have changed mines and just figured out that there are some usermeta that stores the old prefix.

  5. Hand says

    I had this issue and spent an entire day trying every possible solution mentioned here and elsewhere without any progress. Then I remembered that I had changed the PHP version from 7.3 to 7.4 on my hosting’s control panel (DirectAdmin). Changing back php version to 7.3 solved this for me.

    • Joe says

      I’ve just worked out that PHP 7.4 missed three of the extensions we had installed on PHP 7.3:

      php74-php-opcache
      php74-php-process
      php74-php-soap

      As soon as they were enabled and provisioned the wp-admin 404 error disappeared. Hope that helps you to upgrade to 7.4 trouble-free!

  6. Shiv says

    Hi

    I followed this article and in my case i found one plugin was causing this issue.So it found it by renaming each plugin and keep trying the login and once i reached this plugin and renamed it …admin login worked.So…i renamed back rest of the plugins to their original names and keep this once renamed and admin worked and later i sorted my plugin

    Thanks

    • WPBeginner Support says

      Glad you were able to get your site working and thanks for sharing the method you used for other users with this issue :)

      Admin

  7. mark says

    I deleted the htaccess file as instructed, and now I can’t get a login screen at all. No access to my site (404)

  8. Giang Nguyen says

    thanks man. Your Update Site URL works!
    I tried to manually install piece by piece in my local macbook, to learn how wordpress work, and missing your piece!

    The install manual doesn’t really have this kind of info =)

    giang

  9. Todd says

    I’ve had this issue before many years ago and I think my fix was the same this time as it was then. After trying many many suggestions above, what finally did it for me was clearing my chrome browsing history. Someone mentioned trying that and not working, but this was not actually offered as a solution so I thought I would post it. Thanks!

  10. Peter says

    I was having a login error where my login page keeps refreshing and redirecting me back to the login screen. And for me (I tried all of the above solutions) and none of them worked.

    Then I checked the error_log file on my WordPress site and saw that the problem I was having said „WordPress database error Disk full“

    As a result, I went into my wp-config.php file and added the following code to file right above the text line where it says in the file „* That’s all, stop editing! Happy blogging. */“.

    The code I added is:

    define(‚WP_MEMORY_LIMIT‘, ‚256M‘);

    Problem solved.

    • Chris says

      Thanks for this – it worked perfectly and tehe memory limit solved the problem. I was really angry because all other stuff like plugins, themes, .htaccess didn’t work!!!
      Greetigs Chris

  11. Travis says

    None of these options worked for me… Turns out to be a hosting issue. Called Network Solutions and they said that because my database was over 300mb I needed to upgrade my database because after 300mb they lock you out…. Upgrading by DB fixed the issue. Who knew….?!

  12. hamdi says

    Defining these lines ON TOP OF wp-config.php helped. They don’t help if you put them at the bottom.

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

    • WPBeginner Support says

      It should still work if you place it at the bottom of the wp-config file, there may have been a problem with where you placed it depending on what’s in your specific wp-config file.

      Admin

  13. Joe G says

    Nothing worked for me until I went into ftp server and edited index.php in the site’s root (alongside all of the other wp-related files mentioned here), and set define( ‚WP_USE_THEMES‘, FALSE )

    This will temporarily break your site temporarily (no error codes, just white screen), though my site loading wasn’t the problem. This allowed me to finally access my dashboard through the login site, where I then put a brand new theme on and fixed what I thought might be the culprit (I made the mistake of redirecting my „Home“ link on my menu to an exterior site).

    After removing the „Home“ link, (or just to be safe, the menu in general), and creating a new menu with only the pages in question I wanted to use, I re-set the ‚wp_use_themes‘ to TRUE and we’re back off to the races again!

    • WPBeginner Support says

      If none of these methods worked then you may want to reach out to your hosting provider to ensure there aren’t any issues on their end.

      Admin

    • WPBeginner Support says

      Do you mean people can view your site or people can log in to your site? If you mean the login then if you’ve logged in once, WordPress should log you back in but your site’s visitors would still need to log in. If you visit your site in an incognito browser you should see what your visitors see.

      Admin

  14. Pranay Singh says

    I am unable to login to the wordpress admin page as it is showing too many redirects(error) as I had just installed the wordpress and since then I am unable to login the page I have made every change and have checked each possible way through which I can make changes. I have done everything but nothing works. Please help me with the issue.

  15. Peter Guckian says

    For some reason, everytime I go to login into my work’s cms site it redirects me to the actual website rather than the dashboard, have deleted browsing history, cookies, cache etc but no luck. Nobody else in the office seems to have faced this difficulty before

    • WPBeginner Support says

      If you’re using the /wp-admin url to log into the site you may want to try instead using /wp-login.php to see if your browser is not fully clearing the cache.

      Admin

  16. Stephen Vincent Abarca says

    I have a problem in my login. When I visit my site with /wp-admin it then put itself to /wp-login.php with a popup login indicating „your connection to this site is not private“. I cannot login even I put my user and pass.

  17. mahyar says

    thank you for your guide
    i delete htaccess and every thing fixed
    i made another one from setting and save
    then i compare both backup file and new one
    the backup one has some extra entries
    is it ok? or i wil face problem?

  18. Stefano says

    My issue is little different. When I click on customize theme, i get white page.
    Also tried to install the default theme, but nothing changes. I noticed one thing in the url, this code %3A%2F%2F instead of // and that should be part of the problem i think…
    I wanted to ask if someone had the same misadventure and how he solved it. Thanks P.S. This problem occurred to me a few months ago, but I had not given too much weight, thinking it would be resolved with a new upgrade, but unfortunately it was not …

  19. Reza Taba says

    Divi Builder plugin was the culprit. Disabling it resolved the issue. Then I uninstalled and reinstalled it.
    FIXED.

    Thanks for the help!

  20. Marnus says

    None of the mentioned methods worked for me.

    Resetting my password worked for me though.

    And no, I did not try to log in with the wrong password.
    I tested using a wrong password and the site would respond accordingly by saying it is wrong, but when using the correct password, it would just be in the login loop.

  21. Michael Morad-McCoy says

    NONE of the above worked! Very, very frustrated as I need to migrate my site to a new host and doing so manually hasn’t worked so I wanted to try a plug-in. But I cannot access Network Admin to add the plugins!! Arrgh!

  22. Chinmay Ray says

    Hi, Thank You for this blog it cleared alot of my doubts. I have one query

    i have access to wordpress however, when i login with email and password, i come back to the website instead of wordpress dashboard of that website. Yes am not admin. i have been given access by my client.

    please help me with this.

  23. MR-wp says

    Hello dear admin
    I’m really Thankful
    my problem solved after 2 hours struggling
    I am from Iran and I am very happy I visited your website.

  24. Rama says

    i tried all this steps and field to login return me to home page is there is any another solution to fix this issue ? and thanks.

  25. Dapo Momodu says

    When i disabled my plugins folder from cpanel i was able to login. So now i will look for the plugin that made it act like that

  26. Rams says

    Thanks a lot. I dig my head for more than a day on this. I have to move my client’s website from our server to HostGator and I found that even if I gave valid login credentials, I can’t logs into it.

    The stupid thing I did is if WordPress Address URL and Site Address URL is not same, Google Chrome can’t allow to logs in.

    The problem is domain is redirected to www. Since WordPress Address URL doesn’t have www, Chrom didn’t recognize as a legit one.

    Thank you so much for your effort in making this valuable article.

  27. Emilia Wiliams says

    IT WORKED. Thanks!

    I deleted all public, primary and sub-domain .htaccess though.

    Then saved permalinks and all was good.

  28. Umair says

    I also had tried all methods but nothing work. At end when i define my site URL it worked for me.
    Thanks a lot admin.

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

    these lines worked for me.

  29. Serge says

    Works well for me (just need to wait for a while….)

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

    Thanks
    Cheers
    Serge

  30. HengamV says

    I had the same problem for a week … I tried everything on this list and so more and nothing helped to fix that … just try this one too and let me know if it works:

    download „php.ini“ file and delete it !
    if it works then there is problem with a code in this file … solve the problem making code and fix it and again upload „php.ini“ back into your public_html folder

    • Luke says

      HENGAMV – That works!!

      „download “php.ini” file and delete it !
      if it works then there is problem with a code in this file … solve the problem making code and fix it and again upload “php.ini” back into your public_html folder“
      MT!

  31. Anna says

    „Update Site URL“ for the win! Thanks so much. I was neck deep in suggested help articles before I found this. Worked immediately, and super simple too.

  32. Alex says

    None of the solutions worked for me. But what I discovered was my host provider suspects a custom script was malicious and placed a post block on my server. Once I removed that, I can login again.

    • Shabeel says

      Dear Sir,

      Same Problem here.. None of the solutions worked for me. May I How to remove that custom script from my server. ??

  33. Holly Louise says

    This is too damn upsetting. EVERY time I try to log in to my wordpress.com account I am told I have the wrong password EVEN when I get it reset by wordpress!! I am NOT going to disable all my extensions. I am NOT going to clear my cache every time I want to log in to use my account. Pain in the arse. Figure it out people. Find a way for the users to actually use this thing! This has been going on for years and it is WHY I rarely ever use wordpress.

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.