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

    When i type myurl.com/wp-admin the page shows blank. I can’t see any login panel either nor does my website opens… what is the cause? :(

  3. Jeff says

    If you are having this issue, and nothing suggested here will work – log into the Cpanel and go into PHP My Admin, run a repair on your database table.

  4. Micah says

    Adding the code to the wp-config.php solved this for me.

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

    Thanks for the article! It took me 3 hours sifting through other posts before I found your post and the resolution that I needed!

    Micah

  5. Gordon says

    This problem can also occur if your server hosting WordPress has run out of disk space. Freeing up disk space can solve it.

  6. Friday0 says

    Sir please help me look at what am getting it started this night.

    Fatal error: Call to undefined function
    wp_is_mobile() in /home/u318928021/
    public_html/wp-login.php on line 39

    I don’t know what to do

    • WPBeginner Support says

      Seems like a plugin or your WordPress theme is causing this error. Deactivate all your WordPress plugins and check if this resolves your issue. If it does then you need to reactivate plugins one by one. This will help you find the plugin causing the error. If deactivating all plugins does not resolve the issue, then switch to a default WordPress theme like Twenty Fifteen. If switching theme resolves the issue, then the problem is your with your WordPress theme.

      Admin

  7. Thomas Le Coz says

    You guys saved my ass. I was stuck outside a client site after messing with a SSL certificate and some stuff on managed account.

    Never encountered this issue before, got saved by your guide.

    Thanks ;)

  8. Eva Duli says

    Nothing of these work for me. I want to work the site localhost but when I am trying to login in the admin it redirects to the old admin login. Do you have any idea?

  9. Marco Panichi says

    My problem was that I hadn’t renew the database and the provider denied my user to insert/update the database.

    The error I received was: „INSERT command denied to user ‚Sqlxxxxxx’@’xx.xxx.xxx.xxx‘ for…“

    So the solution in my case was:
    1) activate the debug into wp-config.php > define(‚WP_DEBUG‘, true); in order to discover the problem
    2) renew the database

    Hope this help!

  10. JohnnZenith says

    I have a wordpress.com blog and all these instructions either are not relevant or I do not understand them, so I guess i’m going to leave it.

  11. chris says

    I cant find my .htaccess file? I can find it in my rootfirectory but not on my subdomain (where I have a whole new wordpress site). What do I do? It is my first time ever to log in to my subdomain wordpress.

  12. Kenny says

    The dreaded Internal Server Error and web host support quickly identified a corrupted .htaccess. Spent next 3 hours trying to find how to use my ImportBuddy when I didn’t have WP Admin access. Finally thought to check WPBeginner, found the .htaccess issue above and 30 seconds later had fixed the issue. Next time I come here first!

    Thanks guys and gals.

  13. Drew says

    Changing the wp-config.php file did it for me! This is the second time I’ve had this issue in two weeks, so I think the fix via htaccess was only a temporary solution.

  14. joel says

    Seriously a life saver! Corrupted .htaccess files was my issue. But following your steps helped me solve it. Much, much appreciated!

  15. rubenjm says

    I had this issue, tried all these options and none worked for me.
    Finnally solved it… apparently my database was overloaded!! I had to login through phpmyadmin and delete and clean some tables. Hope it helps someone!

  16. Liviu says

    I did all of the proposed solutions, but nothing works for me! It keeps refreshing and redirecting it back to the login screen. Changing the folder of my current theme gives the white screen of death. It doesn’t revert to the default theme. Any other idea, please?

    Being at a dead end, I’m thinking to download all the site through ftp, make a new one site from WordPress and then upload one by one all my content. I’m worry however if I’ll be able to insert all the customization settings afterwards. The current theme was made custom by another person which cannot help anymore. Is it safe to do that? Thanks!

  17. Mary Anne says

    Thank you so much. I have WordPress pages built via my account with bluehost. One of my wordpress sites stopped working. I had the white screen of death.

    I followed each step in order, until I found the step that worked to resolve my problem. The step that worked for me was, Revert Back To Default Theme. Instead of using an ftp though, because I was having a hard time with my fetch working, I logged into my bluehost account and went into my file manager and then accessed my wpcontent/themes/directory that way for changing the title of my current theme.

    this worked perfectly. I was able to log back in and choose a different theme. Thank you again

    Mary

  18. Manish says

    Hello,

    Its not working for me. I had made every change into my site as per this tutorial still no luck. Added these two line in web config file.

    define(‚WP_HOME‘,’http://www.siteurl.com‘);

    define(‚WP_SITEURL‘,’http://www.siteurl.com‘);

    deleted .htaccess file. but still same problem. My site running on 1&1 hosting.

    Please help me.

    Thanks
    Manish

    • Umair says

      Dear manish , there is small change use it will definitely work

      1define(‚WP_HOME‘,’http://example.com/wp-admin‘);
      2define(‚WP_SITEURL‘,’http://example.com‘);

  19. Beck Abad Lastimosa says

    I have had my site for more than 6 months now and I finally decided to transfer hosting. After the transfer was successfully done, I as still able to access my login page. But these past few days has been a nightmare! I am was able to login to WP under the new DNS but as of this time, this problem suddenly occured:

    – Everytime I login to WP admin, I should see the login page right? But what I get is a download of wp-login.php. I have tried checking issues ith the guide of WP Codex. I tried contacting GoDaddy (my new host) but they told me they do not handle coding, etc. Right now, I’m on a dead end! I have tried different browsers but I still get a download of wp-login.php instead of the login page showing itself.

    I ould really appreciate it if you can help me.

  20. Thilip kumar says

    I Check with all the above but unable to login, I can ablre to see the login window, after I submitting login form. I Displays ‚.‘ (Dot symbol)

  21. Isak says

    Did all of the above, nothing works. My main wp-login.php redirects me to one of my subdomains.

    This is how the redirect problem occured:
    1. My web hotel shut down my site, saying that it had been infected with malware.
    2. I changed all my passwords via PhpMyAdmin as well as to the database.
    3. I manually updated WP in my root directory as well as 2 out of 3 subdomains (the 3rd one already had the latest version) by uploading the new files and replacing the old ones, since I was not allowed to access my WP admin area.
    4. I manually added a .htpasswd and .htaccess to my root WP install and tried to access wp-login.php. I tried my 3rd subdomain (the one with the latest install of WP) first and it worked. After that, I tried my main domain and came to a page saying „update database“, so I did. After that I tried again, but every time I try to reach my root install or any of the other subdomains, I get redirected to my 3rd subdomain.

    Any ideas?

    • WPBeginner Support says

      Open the wp-config.php file on the root site. Add these two lines to your wp-config.php file:

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

      Replace example.com with your own domain. Also delete .htaccess file from all your subdomains and root domain. Once you get access to WordPress admin area on your root domain you need to go to Settings -> Permalinks and just save your permalink structure.

      Admin

  22. Jonny says

    WP_SITEURL did it for me. Seems illogical but it worked, so thanks for the tip! This only started happening recently to me – I wonder if it’s more prevalent with subdirectory installs with newer versions of WP.

  23. Peter Evans says

    Recently WP started getting me to login ever 5 of so minutes. I noticed that my wp-config.php did not have the following lines
    define(‚WP_HOME‘,’http://example.com‘);
    define(‚WP_SITEURL‘,’http://example.com‘);

    and when i inserted then the need to login was a less but I was then told that my session has expired and I needed to relogin in.

    This is very frustrating and I would be greatful if you could assist me. I am using WP 3.6.1

    Peter Evans

  24. Aamna says

    and Yes if your wp-config.php file does not provide you a solution.
    Try going to functions.php of your theme via ftp and add same two lines right below the <?php line and upload again. here you go !!!
    it works for me :)

  25. W.J.Kok says

    I use Epic Browser for testing because that browser will not store cookies (by default). Therefore clearing the caches will not delete all my stored passwords in the process.

  26. Brent Norris says

    Had a special case of the redirects all day. This particular post, out of about 20 keyed me in on a solution. Just wanted to say, „thanks!“ Your perspective was a refresh after ten hours chasing down a solution.

    It was the part about generating a new .htaccess file that made the difference for me. Wish I could be more helpful to others but the problem I was having wasn’t very related and wouldn’t make a lot of sense to your readers.

    Aloha

  27. Adrian says

    Thanks a lot for the ‚Update Site URL‘ fix. That solved an issue I was battling with for a while and saves me from any further headaches.

  28. Paul says

    I normally get this error when working with multisite, normally it’s a cookie path problem which can be fixed by changing the wp-config.php.

  29. Robert Connor says

    I really needed this tutorial it happens to me all the time usually a plug in conflict. I am addicted to plugins. Thanks staff! Have a great day on purpose…

  30. Kartik eye says

    I had the same issue, few days ago. I was trying to enable the wpmultisite function for my new website with sub directories. My website is hosted on bluehost. I did everything step by step. But after editing all the files like wpconfig.php and htaccess. When I finally tried to login, I was getting a redirect to the same wp login page. I disabled the multiste and then everything was fine again. Please can you help with this?

    • lelebon says

      I tried everything — I said every little advice here — to no avail. Until I noticed I was using wp_config.php instead of wp-config.php. That simple! It solved my problem. HURRAY!!
      Anyways, thanks for the tips. Hope I can help someone too.

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.