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

WordPress Giriş Sayfası Yenileme ve Yeniden Yönlendirme Sorunu Nasıl Giderilir

Editoryal Not: WPBeginner üzerindeki ortak bağlantılardan komisyon kazanıyoruz. Komisyonlar, editörlerimizin görüşlerini veya değerlendirmelerini etkilemez. Editoryal Süreç hakkında daha fazla bilgi edinin.

Web sitenize giriş yapmaya çalıştığınızda WordPress giriş sayfanız sürekli yenileniyor ve yeniden yönlendiriliyor mu?

Bu sorun sizi WordPress yönetici alanının dışında bırakarak web siteniz üzerinde çalışamamanıza neden olur.

Bu makalede, WordPress giriş sayfasının yenilenmesi ve yeniden yönlendirilmesi sorununu nasıl çözeceğinizi göstereceğiz.

Fixing the login page redirect and refresh issue in WordPress

WordPress’te Giriş Sayfası Yenileme ve Yönlendirme Sorununa Ne Sebep Olur?

WordPress giriş sayfası yenileme ve yönlendirme hatası genellikle yanlış WordPress URL ayarlarından veya giriş çerezlerinin ayarlanmamasından kaynaklanır.

Normalde, oturum açtığınızda, WordPress kullanıcı adınızı ve şifrenizi doğrular ve ardından tarayıcınıza bir oturum açma çerezi yerleştirir. Bundan sonra sizi WordPress kontrol paneline yönlendirir.

WordPress giriş çerezini doğru şekilde ayarlayamazsa veya WordPress yönetici alanı URL’niz yanlışsa, yönetici kontrol paneli yerine giriş ekranına geri yönlendirilirsiniz.

Login page redirect issue in WordPress

Giriş sorunları, veritabanı bağlantısı kurma hatası, dahili sunucu hatası veya beyaz ölüm ekranı gibi farklı WordPress hatalarından da kaynaklanabilir.

Bunu akılda tutarak, WordPress giriş sayfası yönlendirme ve yenileme sorununu giderelim ve düzeltelim. Belirli bir yönteme geçmek için bu hızlı bağlantıları kullanabilirsiniz:

Not: Bu WordPress eğitimindeki ileri düzey adımları denemek istiyorsanız, lütfen önce sitenizin bir yedeğini oluşturun. WordPress veritabanı yedeğinin manuel olarak nasıl oluşturulacağına ilişkin kılavuzumuza bakın.

Video Eğitimi

Subscribe to WPBeginner

Videoyu beğenmediyseniz veya bunun yerine yazılı versiyonu tercih ediyorsanız, lütfen okumaya devam edin.

Yöntem 1: Oturum Açma Sorunlarını Çözmek için Çerezleri Temizleyin

WordPress oturum açma kimlik doğrulaması için çerezleri kullanır, bu nedenle WordPress oturum açma sorunlarını gidermenin ilk adımı en basit olanıdır. Tarayıcınızın çerezlerini ve önbelleğini temizlemeniz gerekecektir.

Google Chrome’da, tarayıcı ayarları menüsüne tıklayın ve ardından Diğer Araçlar ” Tarama Verilerini Temizle‘yi seçin.

Clear browsing data in Google Chrome

Bu, ekranda bir ‘Tarama Verilerini Temizle’ açılır penceresi ile Chrome Ayarları sayfasını başlatacaktır.

Buradan, ‘Çerezleri ve diğer site verilerini temizle’ ve ‘Önbelleğe alınmış görüntüler ve dosyalar’ seçeneklerini seçmeniz gerekir.

Clear cookies and cache in Google chrome

Ardından, ‘Verileri temizle’ düğmesine tıkladığınızda Google Chrome tarayıcı önbelleğini temizleyecektir.

Ayrıca, tarayıcınızda çerezlerin etkin olduğundan emin olun. Bunu yaptıktan sonra tarayıcınızı yeniden başlatın ve ardından oturum açmayı deneyin. Bu, çoğu kişi için sorunu çözecektir.

Tüm büyük tarayıcılarda önbelleğin ve çerezlerin nasıl temizleneceğini gösteren ekran görüntüleriyle birlikte eksiksiz bir kılavuzumuz var.

Yöntem 2: WordPress URL Ayarlarını Güncelleyin

WordPress, web sitenizin URL’si ve WordPress kurulumunuzun URL’si için ayarlarla birlikte gelir.

WordPress yönetici alanınıza erişiminiz varsa, bu seçeneği Ayarlar ” Genel sayfasında görebilirsiniz.

WordPress URL settings

Bu URL’ler yanlışsa, WordPress sizi giriş sayfasına geri yönlendirecektir.

WordPress yönetici alanına erişemediğinizden, bu sorunu çözmek için wp-config.php dosyasını düzenlemeniz gerekecektir.

wp-config.php dosyası, WordPress’te önemli WordPress ayarlarınızı içeren özel bir dosyadır. Bu dosyaya bir FTP istemcisi kullanarak veya WordPress barındırma hesabı kontrol panelinizdeki Dosya Yöneticisi uygulaması aracılığıyla erişebilirsiniz.

Editing wp-config.php file via FTP

Sitenizin kök klasöründe wp-config.php dosyasını bulacaksınız. Dosyayı düzenleyin ve aşağıdaki kod satırlarını ” Hepsi bu kadar, düzenlemeyi durdurun!” yazan satırdan hemen önce yapıştırın. Mutlu yayınlar'.

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

‘example.com’ yerine kendi alan adınızı yazmayı unutmayın.

Bundan sonra, değişikliklerinizi kaydedin ve dosyayı web sitenize geri yükleyin.

Artık WordPress web sitenizi ziyaret edebilir ve giriş yapmayı deneyebilirsiniz. Umarım bu sizin için sorunu çözmüştür. Eğer çözmediyse, ek sorun giderme adımları için okumaya devam edin.

Yöntem 3: WordPress’te .htaccess Dosyasını Silme

Bazen .htaccess dosyası bozulabilir, bu da dahili sunucu hatalarına veya giriş sayfası yenileme hatasına neden olabilir.

Web sitenize bir FTP istemcisi kullanarak veya barındırma sağlayıcınızın kontrol panelindeki Dosya Yöneticisi uygulaması aracılığıyla erişmeniz yeterlidir.

Bağlandıktan sonra, web sitenizin kök dizinindeki .htaccess dosyasını bulun ve yedek olarak bilgisayarınıza indirin.

.htaccess dosyanızı bulamıyorsanız, .htaccess dosyanızın neden eksik olabileceğine ilişkin bu kılavuz size yardımcı olabilir.

Delete .htaccess file in WordPress

Bundan sonra, devam edin ve .htaccess dosyasını web sitenizden silin.

Ardından, wp-admin dizinini açın ve orada bir .htaccess dosyası varsa, devam edin ve onu da silin.

Şimdi WordPress web sitenize giriş yapmayı deneyebilirsiniz. Eğer başarılı olursanız, bu .htaccess dosyanızın WordPress’e giriş yapmanızı engellediği anlamına gelir.

Giriş yaptıktan sonra, WordPress yönetici panelindeki Ayarlar ” Kalıcı Bağlantılar sayfasına gidin ve herhangi bir değişiklik yapmadan ‘Kaydet’ düğmesine tıklayın. Bu, web siteniz için yeni bir .htaccess dosyası oluşturacaktır.

Yöntem 4: Tüm WordPress Eklentilerini Devre Dışı Bırakın

Bazen, özellikle iki eklenti arasında bir çakışma varsa, WordPress eklentileri bu soruna neden olabilir.

Tüm WordPress eklentilerinizi kolayca devre dışı bırakmak için, bir FTP istemcisi kullanarak veya web barındırma hesabı kontrol panelinizdeki Dosya Yöneticisi uygulaması aracılığıyla web sitenize bağlanın.

Bağlandıktan sonra /wp-content/ dizinine gidin. İçinde ‘plugins’ adında bir klasör göreceksiniz. Burası WordPress’in tüm eklentilerinizi yüklediği yerdir.

Rename plugins folder to deactivate all plugins

Eklentiler klasörünü ‘plugins_backup’ olarak yeniden adlandırmanız yeterlidir. Bu, web sitenizde yüklü olan tüm WordPress eklentilerini devre dışı bırakacaktır.

WordPress yöneticisine erişilemediğinde tüm WordPress eklentilerinin nasıl devre dışı bırakılacağına dair ayrıntılı bir eğitimimiz de var.

Tüm eklentileri devre dışı bıraktıktan sonra WordPress sitenize giriş yapmayı deneyin. Başarılı olursanız, bu, eklentilerinizden birinin soruna neden olduğu anlamına gelir.

Yöntem 5: Varsayılan Temaya Geri Dönün

WordPress temaları, WordPress ‘in veya temanın kendisinin daha yeni bir sürümüne yükseltildikten sonra da çakışmalara neden olabilir. Sorunun temanızdan kaynaklanıp kaynaklanmadığını öğrenmek için temanızı devre dışı bırakmanız gerekecektir.

İşlem eklentileri devre dışı bırakmaya benzer. Bir FTP istemcisi kullanarak web sitenize bağlanın. Ardından, /wp-content/themes/ dizinine gitmeli ve mevcut tema dizininizi ‘themes_backup’ olarak yeniden adlandırmalısınız.

Bunu yaptıktan sonra tekrar giriş yapmayı deneyin. Eğer başarılı olursanız, bu temanızın soruna neden olduğu anlamına gelir.

Şimdi sorunun çözülüp çözülmediğini görmek için temanızın yeni bir kopyasını yeniden yükleyebilirsiniz. Sorun tekrar ortaya çıkarsa, temanızın desteğiyle iletişime geçmeniz veya farklı bir WordPress temasına geçmeniz gerekecektir.

Yöntem 6: WordPress Core’u Yeniden Yükleyin

Nadir durumlarda, kalıcı giriş sayfası yenileme sorununa bozuk WordPress çekirdek dosyaları neden olabilir.

Bu çekirdek dosyalar WordPress web sitenizin temelini oluşturur ve temel işlevleri yönetir. Bu dosyalar hasar görürse veya yanlış kodla üzerine yazılırsa, giriş sorunları da dahil olmak üzere çeşitli hatalara yol açabilir.

Öncelikle WordPress.org adresine gidin ve yazılımın en son sürümünü indirin. İndirdikten sonra dosyayı bilgisayarınızda açın. Bu, yeniden yükleme için gerekli tüm dosyaları içeren ‘wordpress’ adlı bir klasör oluşturacaktır.

WordPress files

Ardından, bir FTP istemcisi veya barındırma şirketiniz tarafından sağlanan dosya yöneticisini kullanarak web sitenize bağlanmanız gerekir.

Bağlandıktan sonra, web sitenizin kök klasörüne gidin. Bu, wp-admin, wp-content ve wp-includes gibi klasörleri içeren ana dizindir.

Upload core WordPress files

Bu aşamada, bilgisayarınızdaki ‘wordpress’ klasöründen tüm dosyaları alın ve web sitenizin kök dizinine yükleyin.

FTP istemciniz sizden mevcut çekirdek dosyalarının üzerine yazmayı onaylamanızı isteyecektir.

Bozuk WordPress çekirdek dosyalarını sildiğiniz ve yenileriyle değiştirdiğiniz için, ‘Üzerine Yaz’ seçeneğini seçin ve her dosyayı tek tek onaylamak zorunda kalmamak için ‘Bu eylemi her zaman kullan’ seçeneğini belirleyin.

Overwrite core files

Son olarak, yükleme işlemini başlatmak için ‘Tamam’a tıklayın. FTP istemciniz web sitenizdeki temel WordPress dosyalarını bilgisayarınızdaki yeni dosyalarla değiştirecektir.

Yükleme tamamlandığında, hatanın düzelip düzelmediğini görmek için web sitenizi ziyaret edin. Giriş sorunu bozuk bir çekirdek dosyasından veya kötü amaçlı yazılımdan kaynaklanıyorsa, hata mesajı gitmeli ve başarıyla giriş yapabilmelisiniz.

Daha Fazla WordPress Sorun Giderme Çözümleri Öğrenin

Başka yaygın WordPress hataları yaşıyor ve bunları düzeltmenin bir yolunu mu arıyorsunuz? İşte göz atabileceğiniz diğer makaleler:

Umarız bu makale WordPress giriş sayfası yenileme ve yeniden yönlendirme sorununu çözmenize yardımcı olmuştur. Ayrıca eksiksiz WordPress sorun giderme kılavuzumuzu görmek veya sitenizi büyütmek için en iyi WordPress eklentileri ve araçları için en iyi seçimlerimize göz atmak isteyebilirsiniz.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Açıklama: İçeriğimiz okuyucu desteklidir. Bu, bazı bağlantılarımıza tıklarsanız komisyon kazanabileceğimiz anlamına gelir. WPBeginner'ın nasıl finanse edildiğini, neden önemli olduğunu ve nasıl destek olabileceğinizi görün. İşte editoryal sürecimiz.

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.

Ultimate WordPress Araç Kiti

Araç setimize ÜCRETSİZ erişim sağlayın - her profesyonelin sahip olması gereken WordPress ile ilgili ürün ve kaynaklardan oluşan bir koleksiyon!

Reader Interactions

355 yorumBir Cevap Bırakın

  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. Harry k says

    Thanks for this video and the post. I tried above all of your methods but none of them fixed the issue. read the comment and found a solution as below. Edit HTTPS to HTTP.

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

    to

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

    • WPBeginner Support says

      The issue with this method would be that your site would start to show the not secure message as your site would not be using HTRTPS. This can be a temporary workaround but you would want to update your site to use HTTPS after you are able to log in.

      Yönetici

    • WPBeginner Support says

      If none of the methods from this article are working for you, we would recommend reaching out to your hosting provider for them to check if there are any errors on their end.

      Yönetici

  3. Salah says

    Thanks a lot,

    You saved my day,
    I have changed the file wp-config.php as described in the tutorial and that worked for me.

    My best regards.

  4. Robert clancy says

    I messed around with the Update WordPress URL Settings
    and that was a world of pain to correct as it took my whole site down. I had to correct it through changing the config settings using FTP.

    • WPBeginner Support says

      The settings are definitely powerful and can cause issues if you change them incorrectly. Glad you were able to fix the issue using FTP!

      Yönetici

  5. David Kuteesa says

    Tried all and none worked. Here is what worked:
    Went to wp-config.php and set define( ‘WP_DEBUG’, false); to define( ‘WP_DEBUG’, true );
    Tried logging in again and got “usermeta table missing” error.
    Thats when I realised I had a missing table. Got it from another installation and changed the table prefix to meet current db.
    Worked immediately

    • WPBeginner Support says

      Thank you for sharing this, for most beginners we recommend reaching out to their hosting provider if our recommendations do not work as they can check for less beginner friendly errors.

      Yönetici

  6. Stian says

    Thank you – that tip about restoring the admin page by adding two lines of code in the config file seems to work nicely (still crossing fingers), but I have hope now, which I didn´t earlier.

  7. WPBeginner Support says

    Glad our guide could help and if you hadn’t set up SSL before changing to https that would definitely be the most likely cause.

    Yönetici

  8. branhampaul says

    Thank You, it worked.

    I initially had the siteurl & wp address url changed to “https”, and this made me unable to log-in my dashboard. Maybe because I had not ssl at my host set-up.

    Re-changing the “https” to “http” helped me log-in back.

  9. Bryan Veloso says

    Everything didn’t work. But after downgrading my PHP from 7.4 to 7.2, I was able to login.

    Kinda weird, now I’m using an older PHP version.

    Did you encounter an issue similar to mine? I want to use the newer PHP version, but it doesn’t let me login in wp-admin.

  10. Alisha says

    This issue has never happened to me before, but the 2nd / plugin option worked for me right away.

    This website is a lifesaver! Thank you so much!

  11. Ruta says

    I tried some of these steps, but the problem turned out to be elsewhere: my site was setup as a ‘multisite’ but in wp-config file it said ‘subdomain_install’ as ‘false’, when I changed it to ‘true’, I could login to the site normally without redirects

    • Jerry says

      This was also my problem! I tried all the steps mentioned in the article, but after changing the ‘subdomain_install’ from false to true in the wp-config.php file it worked!!

      Thanks!!

    • Joe says

      I have been trying to solve this for MONTHS… Thanks to your comment, I was able to fix it in about 10 seconds. Thank you so much for sharing!

      This should be included in the tutorial.

  12. Fraser says

    I followed the instructions to deactivate all plugins and I now have access to wp-admin again! The instructions were easy to follow, and thanks so much for putting them out there.

  13. Sachin Baikar says

    Thanks for this great help. The plugin folder renaming worked for me. There was an issue with one of the plugins. Thanks once again :)

  14. Philipp says

    I was looking for a solution for over 5 hours now – nothing worked. But deleting the htaccess file in the wp-admin directory helped!
    I cant thank you enough.
    Made my day.

  15. Suraj Handa says

    Hey but now its showing that cookies are disable in your browser please enable cookies. What can I do now?

  16. ibrahim zouadi says

    Thank you for sharing those tips, unfortunately none of them have worked for me. I even uninstalled the whole wordpress plugin. I don’t know what should i do next :(

  17. PDN Social says

    This was a lifesaver! We were able to follow step-by-step and avoid a major problem!

    Great information!

  18. Jasmeet Singh says

    I couldn’t find my wp admin page. It shows

    “There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.”

    How can I fix this error?

  19. cristi says

    Hi, i have change by mistake my url and now the domain wp admin login url bring me to other site and i cont have ftp access how i can change back them?

    • WPBeginner Support says

      You can either reach out to your hosting provider or if you have phpMyAdmin access you could change the options table and update the URL and address.

      Yönetici

  20. Ankit says

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

    where do these two lines add in wp-config.php file?

    At Last OR At Start?

    Please clarify

    • WPBeginner Support says

      As we state in the article: paste the code just before the line that says ‘That’s all, stop editing! Happy publishing’.

      Yönetici

  21. Ada says

    Thank you so much for your post. I’m a newbie with WP. These lines worked for me

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

    I also changed the below line from false to true.

    define( ‘WP_DEBUG’, true );

    • WPBeginner Support says

      Glad our recommendation could help, the WP_Debug you should be able to return to false should you want :)

      Yönetici

  22. mojo says

    thank u so much after spending so much time after deleting that .htacces and restart my mac open the website finally thanks for ur time

  23. 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!

  24. 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

      Yönetici

  25. 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.

  26. 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!

  27. 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 :)

      Yönetici

  28. 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)

  29. 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

  30. 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!

  31. 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

  32. 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….?!

  33. 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.

      Yönetici

  34. 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!

Bir Cevap Bırakın

Yorum bırakmayı seçtiğiniz için teşekkür ederiz. Lütfen tüm yorumların yorum poli̇ti̇kasi uyarınca denetlendiğini ve e-posta adresinizin yayımlanmayacağını unutmayın. Ad alanında anahtar kelime KULLANMAYIN. Kişisel ve anlamlı bir sohbet edelim.