{"id":30775,"date":"2021-05-28T07:00:00","date_gmt":"2021-05-28T14:00:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=30775"},"modified":"2025-05-21T23:42:33","modified_gmt":"2025-05-22T06:42:33","slug":"how-to-fix-wordpress-login-page-redirect-issue","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/","title":{"rendered":"How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways)"},"content":{"rendered":"\n<p>Are you trying to <span style=\"text-decoration: underline;\"><a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/360001310966-How-to-log-into-your-WordPress-site\">log in to your WordPress website<\/a><\/span>&nbsp;but can\u2019t get past the login page? If so, you might be stuck in a redirect loop.<\/p>\n\n\n\n<p>When your WordPress login page keeps refreshing after entering your <a href=\"https:\/\/www.dreamhost.com\/blog\/best-password-managers-for-website-owners\/\">username and password<\/a>, you\u2019re likely dealing with a caching problem or a plugin error. Fortunately, this is an issue that can be solved quickly.<\/p>\n\n\n\n<p>In this post, we\u2019ll look at the <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-redirect-loop-wordpress-error\/\">common causes of this redirect loop<\/a> and then walk you through three simple fixes to help you log back into your website. Let\u2019s get started!<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-common-causes-of-the-login-page-refresh-and-redirect-issue-in-wordpress\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">Common Causes of the Login Page Refresh and Redirect Issue in WordPress<\/span><\/h2>\n\n\n\n<p>The WordPress login redirect issue occurs when the login screen keeps refreshing and redirects you back to the same page. As a result, you\u2019ll be <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/what-to-do-when-locked-out-wordpress\/\">locked out of your site\u2019s admin area<\/a><\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/72a90769-42b3-4585-b871-693b6d5fcc10_How-to-Fix-WordPress-Login-Page-Dreamhost-4.jpg\" alt=\"The WordPress login page.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>There are three possible reasons for this error:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your browser might be storing outdated WordPress files and data.<\/li>\n\n\n\n<li>A recently-installed <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/how-to-find-wp-themes\/\">WordPress theme<\/a><\/span>\u00a0or <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/tutorial-wp-plugin-install-setup\/\">plugin<\/a><\/span>\u00a0might be faulty or incompatible with other plugins.<\/li>\n\n\n\n<li>Your WordPress site might have a corrupted <span style=\"font-style: italic;\">.htaccess<\/span>\u00a0file.<\/li>\n<\/ul>\n\n\n\n<p>You\u2019ll be pleased to know that there\u2019s an easy fix for each scenario. Next, we\u2019ll show you how to troubleshoot the WordPress login redirect error so you can get back into your site.<\/p>\n\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Skip the Stress\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      Avoid troubleshooting when you sign up for DreamPress. Our friendly WordPress experts are available 24\/7 to help solve website problems \u2014 big or small.\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/wordpress\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Check Out Plans                    <\/a>\n\n  <\/div>\n<\/div>\n\n\n<h2 id=\"h-how-to-fix-the-wordpress-login-page-refreshing-and-redirecting-issue-3-methods\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Methods)<\/span><\/h2>\n\n\n\n<p>Now, let\u2019s go through the three main steps to fixing the WordPress login redirect error. Before proceeding, you might want to perform <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-back-up-your-wordpress-website\/\">a backup of your site<\/a><\/span>&nbsp;just in case something goes wrong and you need to restore an earlier version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-clear-your-browser-cookies-and-cache\"><span style=\"font-weight: bold;\">1. Clear Your Browser Cookies and Cache<\/span><\/h3>\n\n\n\n<p>The quickest way to solve the WordPress login redirect issue is by clearing your browser cookies and cache. WordPress uses cookies to store authentication data. Sometimes your browser might retain old files, resulting in a redirect loop <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/\">when you try to log in to your site<\/a>.<\/p>\n\n\n\n<p>To clear the cookies and cache in Google Chrome, click on the three-dot icon in the top-right corner of your browser. Go to <span style=\"font-style: italic;\">More Tools<\/span>&nbsp;in the drop-down menu, and then choose <span style=\"font-style: italic;\">Clear browsing data<\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/19446f84-09d7-4b6b-ba81-becafa2cfd9b_How-to-Fix-WordPress-Login-Page-Dreamhost-6.jpg\" alt=\"\u201cClearing your browsing data in Chrome.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>In the popup window that appears, set the time range to <span style=\"font-style: italic;\">All time<\/span>&nbsp;and check the following options: <span style=\"font-style: italic;\">Cookies and other site data<\/span>&nbsp;and <span style=\"font-style: italic;\">Cached images and files<\/span>. Finally, click on <span style=\"font-style: italic;\">Clear data<\/span>.<\/p>\n\n\n\n<p>If you\u2019re not a Chrome user, don\u2019t worry. You can easily find instructions for <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-clear-your-browser-cache-in-all-major-browsers-fast-way\/\">clearing your cache and cookies in different browsers<\/a><\/span>.<\/p>\n\n\n\n<p>Once you\u2019ve completed this process, restart your browser and try logging in to your WordPress site. If you\u2019re still facing the same login error, head to the next step.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-check-new-installs-and-updates-plugins-and-themes\"><span style=\"font-weight: bold;\">2. Check New Installs and Updates (Plugins and Themes)<\/span><\/h3>\n\n\n\n<p>As we mentioned earlier, the WordPress login redirect issue may be caused by a theme or plugin you\u2019ve recently installed. Perhaps this new theme or plugin is faulty, or it is incompatible with other plugins on your site.<\/p>\n\n\n\n<p>To determine whether the problem is caused by a theme or plugin, you can do two things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deactivate the plugins on your site<\/li>\n\n\n\n<li>Revert to your site\u2019s default theme<\/li>\n<\/ul>\n\n\n\n<p>First, you\u2019ll need to access your WordPress site via a <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/ftp-sftp-guide-for-wordpress-users\/\">Secure File Transfer Protocol (SFTP) client<\/a><\/span>&nbsp;or the file manager in your website\u2019s hosting account. If you have a DreamHost account, you can log in and navigate to <span style=\"font-style: italic;\">WordPress<\/span>&nbsp;&gt; <span style=\"font-style: italic;\">Managed WordPress <\/span>in the sidebar.<\/p>\n\n\n\n<p>Then find your domain and select <span style=\"font-style: italic;\">Manage<\/span>. On the next page, click on the <span style=\"font-style: italic;\">Manage Files<\/span>&nbsp;button in the <span style=\"font-style: italic;\">Details<\/span>&nbsp;section. This will take you to the file manager. Next, locate and open the folder labeled with your domain name.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/b03aadff-e3bf-480e-9553-dcc137c02ef8_How-to-Fix-WordPress-Login-Page-Dreamhost-3.jpg\" alt=\"\u201cAccessing your WordPress site\u2019s files.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>To deactivate your plugins, open the <span style=\"font-style: italic;\">wp-content<\/span>&nbsp;folder in your site\u2019s root directory, and then find the <span style=\"font-style: italic;\">plugins<\/span>&nbsp;folder and rename it <span style=\"font-style: italic;\">plugins_test<\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/b8c4502a-3a1e-4b4e-80a1-32ca53fd199a_How-to-Fix-WordPress-Login-Page-Dreamhost-7.jpg\" alt=\" \u201cRenaming the plugins folder.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>If this solves the login problem, you\u2019ll need to determine which specific plugin is at fault. To do that, restore the folder\u2019s original name, open it, and rename one of the plugin folders instead. You can repeat this process to deactivate one plugin at a time, testing your login page after each one to identify the culprit.<\/p>\n\n\n\n<p>If you\u2019re still unable to log into your WordPress site after deactivating the plugins, return to the <span style=\"font-style: italic;\">wp-content <\/span>folder and find the <span style=\"font-style: italic;\">themes<\/span>&nbsp;folder. Rename the folder <span style=\"font-style: italic;\">themes_test<\/span>. Your WordPress site will automatically revert to a default theme.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/6540fba8-a987-471e-8caa-da1b7c6ae3c7_How-to-Fix-WordPress-Login-Page-Dreamhost-5.jpg\" alt=\"\u201cRenaming the themes folder.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>If deactivating these elements solves your login problem, you can head to your WordPress dashboard and perform any necessary updates. You might also want to replace the plugin or theme causing trouble or contact the <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-hire-web-developer\/\">developer<\/a> for assistance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-restore-your-default-htaccess-nbsp-file\"><strong>3. Restore Your Default <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;File<\/strong><\/h3>\n\n\n\n<p>If you\u2019ve tried the above two methods and are still stuck in the loop, don\u2019t worry. There\u2019s still one last method you can try.<\/p>\n\n\n\n<p>Another possible cause of the WordPress login redirect loop is a corrupted <span style=\"text-decoration: underline; font-style: italic;\"><a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216456227--htaccess-overview\">.htaccess<\/a><\/span><span style=\"text-decoration: underline;\"><a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216456227--htaccess-overview\">&nbsp;file<\/a><\/span>. Located in your site\u2019s root directory, the <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;file enables WordPress to interact with your server and generate permalinks for your site.<\/p>\n\n\n\n<p>To access this file, connect to your website through an SFTP client or the file manager in your hosting account. From there, go to your site\u2019s root directory, locate the <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;file, and delete it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/ffcd26a8-d722-4dbe-b4ec-9cc03f6c87eb_How-to-Fix-WordPress-Login-Page-Dreamhost-1.jpg\" alt=\"\u201cDeleting the .htaccess file.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>Next, try logging in to your site. If you\u2019re successful this time, you\u2019ll know that the problem was the <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;file.<\/p>\n\n\n\n<p>Finally, you\u2019ll need to create a new <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;file. Go to <span style=\"font-style: italic;\">Settings<\/span>&nbsp;in your WordPress admin dashboard, select <span style=\"font-style: italic;\">Permalinks<\/span>, and click on the <span style=\"font-style: italic;\">Save Changes<\/span>&nbsp;button at the bottom of the page.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/7698062d-a6d4-4b74-8d6d-06f1a5396749_How-to-Fix-WordPress-Login-Page-Dreamhost-2.jpg\" alt=\"\u201cCreating a new .htaccess file.\u201d\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>Note that you don\u2019t need to make any changes on the <span style=\"font-style: italic;\">Permalinks Settings<\/span>&nbsp;page. Simply hit the blue button, and a new <span style=\"font-style: italic;\">.htaccess<\/span>&nbsp;file will appear in your site\u2019s root directory.<\/p>\n\n\n\n<h2 id=\"h-additional-wordpress-error-resources\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">Additional WordPress Error Resources<\/span><\/h2>\n\n\n\n<p>Do you want to learn how to <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/common-wordpress-errors\/\">troubleshoot other WordPress errors<\/a><\/span>? We\u2019ve put together several guides to help you solve several common WordPress issues:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/troubleshooting-wordpress-white-screen-death\/\">How to Troubleshoot the WordPress White Screen of Death<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-internal-server-error\/\">How to Fix the 500 Internal Server Error in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-syntax-errors-wordpress\/\">How to Fix Syntax Errors in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-not-sending-email\/\">How to Fix the WordPress Not Sending Email Issue<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-database-connection-error\/\">How to Fix the Error Establishing Database Connection in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-404-error\/\">How to Fix WordPress Error 404 Not Found<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"http:\/\/dreamhost.com\/blog\/how-to-fix-white-text-missing-buttons-wordpress\">How to Fix White Text and Missing Buttons in WordPress Visual Editor<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"http:\/\/dreamhost.com\/blog\/wordpress-sidebar-below-content-error\/\">How to Fix the Sidebar Below Content Error in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/what-to-do-when-locked-out-wordpress\/\">What to Do When You\u2019re Locked Out of the WordPress Admin Area<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-memory-limit-error\/\">How to Fix the WordPress Memory Exhausted Error<\/a><\/span><\/li>\n<\/ul>\n\n\n\n<p>If you\u2019re looking for more WordPress tips, check out our <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/tutorials\/\">WordPress Tutorials<\/a><\/span>. This is a collection of guides designed to help you navigate the WordPress dashboard like a pro.<\/p>\n\n\n\n<h2 id=\"h-login-issue-be-gone\" class=\"wp-block-heading\"><strong>Login Issue Be Gone<\/strong><\/h2>\n\n\n\n<p>The WordPress login redirect loop may seem intimidating, but it is a common error. It\u2019s generally caused by a caching issue, a faulty plugin or theme, or a corrupted <span style=\"font-style: italic;\">.htaccess <\/span>file.<\/p>\n\n\n\n<p>There are three things you can do to get out of this redirect loop:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Clear your browser cookies and cache.<\/li>\n\n\n\n<li>Check to see if the problem is caused by a newly installed theme or plugin.<\/li>\n\n\n\n<li>Delete and restore the <span style=\"font-style: italic;\">.htaccess<\/span>\u00a0file in your website\u2019s root folder.<\/li>\n<\/ol>\n\n\n\n<p>If you want to avoid dealing with WordPress errors in the future, consider switching to <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/managed\/\">DreamPress<\/a><\/span>. Our managed WordPress hosting service takes care of all technical problems for website owners, which means you get to spend less time troubleshooting and more time growing your business!<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Are you trying to log in to your WordPress website&nbsp;but can\u2019t get past the login page? If so, you might be stuck in a redirect loop. When your WordPress login page keeps refreshing after entering your username and password, you\u2019re likely dealing with a caching problem or a plugin error. Fortunately, this is an issue [&hellip;]<\/p>\n","protected":false},"author":1062,"featured_media":30783,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.","toc_headlines":"[[\"h-common-causes-of-the-login-page-refresh-and-redirect-issue-in-wordpress\",\"<span style=\\\"font-weight: bold;\\\">Common Causes of the Login Page Refresh and Redirect Issue in WordPress<\/span>\"],[\"h-how-to-fix-the-wordpress-login-page-refreshing-and-redirecting-issue-3-methods\",\"<span style=\\\"font-weight: bold;\\\">How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Methods)<\/span>\"],[\"h-additional-wordpress-error-resources\",\"<span style=\\\"font-weight: bold;\\\">Additional WordPress Error Resources<\/span>\"],[\"h-login-issue-be-gone\",\"<strong>Login Issue Be Gone<\/strong>\"]]","hide_toc":false,"footnotes":""},"categories":[13127,550,696],"tags":[],"class_list":["post-30775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors-troubleshooting","category-tutorials","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>3 Ways to Fix WordPress Login Refreshing &amp; Redirecting - DreamHost<\/title>\n<meta name=\"description\" content=\"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways)\" \/>\n<meta property=\"og:description\" content=\"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-28T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T06:42:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"598\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jason Cosper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jason Cosper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"3 Ways to Fix WordPress Login Refreshing & Redirecting - DreamHost","description":"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways)","og_description":"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2021-05-28T14:00:00+00:00","article_modified_time":"2025-05-22T06:42:33+00:00","og_image":[{"width":900,"height":598,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg","type":"image\/jpeg"}],"author":"Jason Cosper","twitter_card":"summary_large_image","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Jason Cosper","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/"},"author":{"name":"Jason Cosper","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4"},"headline":"How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways)","datePublished":"2021-05-28T14:00:00+00:00","dateModified":"2025-05-22T06:42:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/"},"wordCount":1284,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg","articleSection":["Errors &amp; Troubleshooting","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/","name":"3 Ways to Fix WordPress Login Refreshing & Redirecting - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg","datePublished":"2021-05-28T14:00:00+00:00","dateModified":"2025-05-22T06:42:33+00:00","description":"If you\u2019re stuck in a redirect loop when trying to log into your WordPress website, it may be due to a caching or plugin issue. Here are 3 easy fixes.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/05\/79fe3d4c-17e5-4353-ad8e-9816f3a75eab_fix-wordpress-login-opt.jpg","width":900,"height":598},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-login-page-redirect-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways)"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4","name":"Jason Cosper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","caption":"Jason Cosper"},"description":"Jason is DreamHost\u2019s WordPress Product Advocate, based out of Bakersfield, CA. He is currently working on making our DreamPress product even better. In his free time, he likes to curl up on the couch and watch scary movies with his wife Sarah and three very small dogs. Follow him on Twitter.","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/jasoncosper\/"}]}},"lang":"en","translations":{"en":30775,"es":30788,"de":51222,"pt":51457,"pl":51607,"ru":51610,"uk":53027,"it":68954,"fr":71566,"nl":71598},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1062"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=30775"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30775\/revisions"}],"predecessor-version":[{"id":61581,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30775\/revisions\/61581"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/30783"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=30775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=30775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=30775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}