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

    this is one of the best tutorial that fixed my issue.. ive tried so many and it just messed my code.

    what i did was just delte my htacess and generated a new one.. and im even able to login to my wp admin already

  3. Benjamin Marlatt says

    I have tried everything and nothing works!! I then tried re-registering, but that completely wiped out my dashboard. I’m getting extremely frustrated over this!!

  4. Brown says

    My site doesnt login to dashboard or takes time to load the /wp-login page which after inserting the login details it takes forever to load … but on a different network it loads well what could be the problem

  5. Bethany says

    Thank you so much for this article! Thankfully mine was an easy fix and I just needed to delete the cookies from WP.org so I could sign in. I had just reset my password before the error occurred where it kept refreshing the log in screen so that may have had something to do with it.

  6. Shay says

    Hi guys,

    I’ve tried everything and nothing worked. I had the same problem with another computer and after about 5 attempts I got in but this morning I tried logging in with another computer, it’s happening again. The page redirects to mysite.com/wp-login.php. Any ideas?

    Thanks all for your help!

  7. Patrick Ogbuitepu says

    LAST RESORT THAT WORKS
    You can temporarily disable redirection from the wp-login.php file and then delete all newly installed or updated plugins.

    1. Disable redirection by opening the file wp-login.php

    2.Scroll down to the line where you have the code „do_action( „login_form_{$action}“ );“
    Mine was around line 461

    3. Comment out that line of code to disable redirection

    4. Save the file. You will now be able to login using example.com/wp-login.php

    5. Disable or delete all recently installed plugins especially plugins that manage access control functionalities

    6. Clear your cookies and cache

  8. nirmal says

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

    i change this examples.com to my site url, now not able to login. it shows 401 unauthorized. After changing the original file wp-config also, not able to login. any idea?

  9. Paul says

    Turned out to be one of my plugins that was giving me grief, simply went into my Ftp and deactivated them and got rid of the last plugin that i installed, happy days fixed the problem, many thanks guys your knowledge is invaluable , respect!

  10. Graham Campbell says

    Tried these to no avail. My host says „The site ran out of space“ except that there is 3gb free, so that’s not true. This problem is on 40+ sites and happened at the same time, so it’s not me but I have grumpy customers expecting me to fix it.

    Site works but login does not,

    I get :

    https://example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F%3Fdoing_wp_cron%3D1512599810.4524919986724853515625&reauth=1&doing_wp_cron=1512600006.5833470821380615234375

    Any thoughts welcome. Thank you

  11. Abby says

    Finally! The delete .htaccess file works fine for me! Also have to go to Settings > Permalinks and click Save to generate a new .htaccess file.

      • WPBeginner Support says

        Hi August,

        If you cannot login to your WordPress site, then you can refresh permalinks via FTP. Simply connect to your website using an FTP client. After that download your .htaccess file to your computer as a backup. Now delete the .htaccess file from your server. You can now try to log in to your website.

        Once logged in you can go to Settings > Permalinks page and click on the save changes button to generate new .htaccess file.

        Admin

  12. Andrew See says

    My problem was customers needed to try login 3 times before it goes through for Chrome, IE and Opera but not for Firefox users. I am using Woocommerce and WP (currently the latest although it started happening about the last upgrade or earlier). Tried clear cache, delete htaccess. Didnt work. The following worked:
    Added a new page and re-direct the „Woocommerce|Account“ (login) page to the new page.
    This worked. I then pointed the Account page to the original Account page and it worked. Guess something got refreshed. Thanks for the tips anyhow.

  13. Gina says

    after changing site URL through the dashboard the whole site went to 404. Your define(‚WP_HOME‘,’http://example.com‘);
    define(‚WP_SITEURL‘,’http://example.com‘);
    solved that issue, but now I need to move my site to the root directory and don’t know how because of this fix.

    HELP!

  14. Phil says

    Thanks for the guide.
    Updating the site URL using

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

    Worked for me :-)

    • Jason says

      Pro Tip : I have the same problem, check your wp-config.php file and locate : WP_ADMIN_COOKIE_PATH or ADMIN_COOKIE_PATH and erase it!

  15. Jon says

    All of these steps did not fix my problem.

    I think I’ve found part of the cause though.

    When I type in mysite.com/wp-admin I am redirected to mysite.com/wp-login.php only the redirect is incorrect.

    Rather than redirecting to mysite.com/wp-admin after login it is redirecting to mysite.com/domains/mysite/wp-admin

    Any help out there for fixing this?

  16. TH says

    Hi.
    I moved my site from my local host to live following the steps in your article related to that.
    I faced some login/redirect issues.
    I tried all the steps as listed in this article.
    When I revert back to default theme, the page only shows a text of my domain name with no other content.
    When I delete .htaccess file, it shows my home page but when I click on login button it shows 404 error NOt Found
    When I update site url, I also get 404 error when I click on login button or go to domain/wp-admin

    What else can I try to troubleshoot?

    Will appreciate your help.
    Thanks.

  17. Geetika jain says

    I am not able to understand what is the problem with my website. In home page after 5 posts i am not able to post anything, in the dashboard, it redirects me to the post page. and revolution slider is not activating in my site.

  18. Richard Payne says

    I can not log in it gives me a page can not be founed I think it is because my web page name was altered in an plug in

  19. Dan says

    Everytime I log in I am redirected to the My sites page (light Blue) I want to go directly to the standard dashboard. Can someone help me fix this problem

  20. amacn says

    hI! I have just paid my renewal and when I try to login to my account it keeps telling me error?? Why is this ?? Thanks.

  21. John D'signer says

    thanks a lot..this is so helpful to retrieve wp site as mush as easier way.every pin points are so understandable and worth to try it.oncw again thank you so much

  22. Adele says

    Why can’t I access my WordPress dashboard anymore? It’s driving me insane. I have tried resetting the password, several times, but it keeps telling me there is no account with that name. I need to publish a blog but I can’t. HELP!

  23. Giorgio Mula says

    Hi there,

    I have a weird issue with login on WP: my problem arise with domain redirect because I have a wp site into a subfolder of my domain (www.example.com/site) and a redirect from my provider (www.example2.com) that I setup to point at http://www.example.com/site.
    WP works great except for „login“: I can access from http://www.example.com/site but not from http://www.example2.com. From this last one it happens that pushing „Login“ button simply get no result. Do you have any idea? Both WP_HOME and WP_SITE_URL point to http://www.example.com/site

    Thanks a lot for your support and your amazing site

    • WPBeginner Support says

      Hi Giorgio,

      We are not sure we understand your issue correctly. However, it seems like example2.com is already redirecting to your other website. In that case, you’ll not be able to login from there.

      Admin

  24. Tariq says

    I am running a WP website, Its about mobile products tells Specifications and features of smartphones. I tried to activate a price filter plugin for my website but they said I have to activate the woo commerce plugin first then filter plugin will work. I did that. But it was a big mess. so I delete the both woo commerce as well as the first one price filter plugin. But now I am facing an issue. when ever I click on my any product on my website or from google search result it comes back to my site homepage. Can anyone help me out about it? I am a beginner. Thanks

  25. Salman Ansari says

    i Just copied all the wordpress folder to one site to another & Import All my database but… after login, page redirect to previous site….
    what should I do?

    • WPBeginner Support says

      Hey Phil,

      Before you reinstall please try these:

      1. Try to access login page by visiting http://www.example.com/wp-login.php

      2. Try updating your permalink structure. Connect to your website using an FTP client or File Manager in cPanel. Locate the .htaccess file in the root folder of your website. Download the file to your computer as a backup and then delete it from your website.

      Admin

      • Vincent Sabatia says

        Had the same problem though all I had to do was to reset my admin user password to something stronger, cleared the browser cache and everything started working fine

  26. Denise says

    None of these solutions worked for me, nothing. I was completely perplexed. Finally, I went to the WordPress forum on my hosting site, Dreamhost, and found a thread about login problems. Turns out I didn’t have my auth keys and salts defined. A quick cut and paste into my wp-config.php file and boom! I’m in! So my addition is to check with your hosting service and see they have specific instructions or recommendations. IDK why my wp-config.php was wrong in the first place, but so glad I found the fix! This has been frustrating!

  27. Marcelo Muianga says

    Thank you so much, deleting the .htaccess did the trick, just remind people to show hidden files on file manager html root of their cpanel

  28. Aman Potlia says

    hey thanks your last method update url method really works for me. now i am able to log in my wordpress admin panel

  29. Brad says

    Super helpful, thank you. I had 2 or 3 plugins running that did logins and membership and they basically made my site inaccessible.

  30. Graeme says

    The site url option:

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

    worked for me. The problem happened when I moved a site from a .co.nz to .nz url.

    Thanks.

  31. Awais Khalid says

    Sir i have uplaod database file and and backup for my old website on new domain but it is redirecting to old website and i am unable to access WordPress Login page

    • WPBeginner Support says

      Hi Awais,

      You will need to change the site URL. You can do that in your wp-config.php by adding this code:

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

      Admin

  32. David ACQ says

    Last option worked for me just fine (Update Site URL)

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

    I wish i could know what caused the problem and why that solution was the one that worked, in order to prevent having this issue again and be alert of else issues could produce the origin problem.

  33. Bakkiya says

    Having a problem login into wordpress wp-admin page. No error messages, but keep getting redirected to the login page itself.

    Wrong credentials return appropriate error message, but not in this case. No white screen of death also. Just the login page reappearing, after shaking a couple of times.

    Tried all suggested methods, including clearing cookies, deactivating plugins, deactivating theme. And deleting .htaccess, making appropriate entries for site url and home url in wpconfig, enabled wp_debug too. Tried all tricks recommended.

    Interestingly, this has happened in two different servers, with two different staging sites (both in advanced stages of development) – on two different servers…one windows, one linux. These were working fine till last night…and then this sudden has happened since morning.

    Can any one suggest what the problem could be?

    • Nithin Bhaktha says

      Well I had the same problem yesterday just after installing WordPress. Check in your host cPanel if varnish caching has been enabled. If so, go ahead and disable it. Wait for 30 minutes and then try logging in.

      • Tushar says

        You my friend deserve a pat on the back. After struggling for nearly the whole day and trying everything else out, your solution is what finally worked. I disabled varnish and voila, I am in :)

  34. Siddhesh says

    Nothing work for me ? dont know how to fix it? please help ?
    Cant login to wordpress dashboard
    it says sorry you are not allowed to access this page

  35. Sheila King says

    I was locked out. At first I doubted my password and tried to get a reset but my admin log in page was just doing circles with my website front page. I tried every action suggested – even managing to get the dreaded blank, white page.

    So I started putting everything back as it was to try again another day. But with a deleted .htaccess file and the theme and plug in still deactivated I managed to get a password reset from WP – I’m in!

    Thank you to everybody who commented.

  36. Muhammad Aqeel says

    follow this tutorial A to Z problem not solved. i couldn’t login to my wp-admin since i migrate my wordpress website from localhost wamp to web server using cpanel. the front end design not rendered properly and also i couldn’t login to my wordpress admin

  37. Cathy Ford says

    I have a slightly different problem — when I am logged off wordpress and on my website when I click on the main menu to select a page I get redirected to the WordPress Login page. It is sporadic and seems to happen with several different links. This is also happening to visitors to my site so it’s not just my computer. .
    Thanks, Cathy

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.