{"id":32117,"date":"2024-03-08T01:00:00","date_gmt":"2024-03-08T09:00:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=32117"},"modified":"2025-05-21T19:36:17","modified_gmt":"2025-05-22T02:36:17","slug":"how-to-fix-wordpress-keeps-logging-out-error","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/","title":{"rendered":"How To Fix The \u201cWordPress Keeps Logging Me Out\u201d Problem"},"content":{"rendered":"\n<p>If you&#8217;re on this page, you\u2019ve probably searched for something like, &#8220;Help! <a href=\"https:\/\/www.dreamhost.com\/blog\/what-is-wordpress\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> keeps logging me out!&#8221;<\/p>\n\n\n\n<p>WordPress is the internet&#8217;s most popular <a href=\"https:\/\/www.dreamhost.com\/glossary\/web-design\/content-management-system-cms\/\" target=\"_blank\" rel=\"noopener\">Content Management System (CMS)<\/a>, with an estimated <a href=\"https:\/\/www.envisagedigital.co.uk\/wordpress-market-share\/\" target=\"_blank\" rel=\"noopener\">62% of the CMS market share<\/a>. Despite this, it isn\u2019t perfect. Things can still go wrong. For example, you may need to deal with the \u201cWordPress keeps logging out\u201d problem that\u2019s landed you here.<\/p>\n\n\n\n<p>Fortunately, being logged out of WordPress frequently is usually a pretty minor problem that most beginners can solve by using some basic troubleshooting methods, like clearing caches and disabling plugins. This is generally enough to isolate and solve the issue. And if that doesn&#8217;t work, reaching out to your hosting provider should shed some light on what&#8217;s going on.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>WordPress<\/h3>\n    <p>WordPress is an open-source Content Management System (CMS). Since it is free and accessible, WordPress is used to power almost any type of website, from blogs to e-commerce businesses.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/wordpress\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>In this article, we\u2019ll look at some of the most common reasons why WordPress keeps logging you out. Then we\u2019ll explore 10 methods you can use to solve the issue. Let\u2019s get started!<\/p>\n\n\n\n<h2 id=\"why\" class=\"wp-block-heading\">Why WordPress Keeps Logging Out<\/h2>\n\n\n\n<p>WordPress requires you to enter your username and password when you want to access your website\u2019s admin dashboard. This login process prevents unknown users from reaching your website&#8217;s back end, where they could take control of your site and <a href=\"https:\/\/www.dreamhost.com\/blog\/secure-your-wordpress-website\/\" target=\"_blank\" rel=\"noopener\">potentially steal your data<\/a>.<\/p>\n\n\n\n<p>However, when you&#8217;re actively working on your website, you probably want to keep your admin dashboard open so you can easily access different areas of your back end. If WordPress keeps logging you out, we know how frustrating it can be to have to log in constantly.<\/p>\n\n\n\n<p>There are a few reasons why WordPress might log you out:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cookies with outdated information.<\/li>\n\n\n\n<li>Cached files with old data.<\/li>\n\n\n\n<li>An improperly configured WordPress site address.<\/li>\n\n\n\n<li>Faulty plugins or theme files.<\/li>\n<\/ul>\n\n\n\n<p>We\u2019ll address these potential causes for the \u201cWordPress keeps logging me out\u201d problem in more detail in our walkthroughs below. We\u2019ll also explore troubleshooting methods for each one.<\/p>\n\n\n\n<h2 id=\"fix\" class=\"wp-block-heading\">How To Fix The \u201cWordPress Keeps Logging Out\u201d Problem (10 Methods)<\/h2>\n\n\n\n<p>How to fix the &#8220;WordPress keeps logging me out&#8221; problem depends on what&#8217;s causing it. If you&#8217;re having this issue, start with the simplest solutions and work your way up to more complex ones.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Clear Your Browser\u2019s Cookies<\/h3>\n\n\n\n<p>One of the most common reasons for WordPress to repeatedly log someone out is when they&#8217;re trying to access their site with an expired cookie saved in their browser \u2014which means their most recent browser session can&#8217;t be authenticated. Clearing your cookies should solve this issue if it&#8217;s the culprit for you.<\/p>\n\n\n\n<p><b>Note:<\/b> To make a quick test if caching or cookie settings are logging you out of WordPress, you could use incognito mode. Private browsing works by initiating a separate temporary session from the main one, allowing you to rule out session-related problems. This won&#8217;t fix the problem, but it can help troubleshoot possible issues!<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>Cookies<\/h3>\n    <p>Cookies are pieces of data sent to a user\u2019s computer or mobile device by a web server. They are then stored on the user\u2019s device. Cookies can be used for authentication, identification of a user session, personalization of web content, or collecting information about the use of a website.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/cookies\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>Clearing cookies is straightforward in most major browsers. We\u2019ll take you through how to clear your cookies in the four most popular web browsers: Chrome, Firefox, Safari, and Edge Browser.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Google Chrome<\/h4>\n\n\n\n<p>At the top right, click on the three vertical dots icon, then click <b>Clear browsing data<\/b>. A new tab will open with a popup box. Make sure you&#8217;re in the <b>Basic<\/b> tab.<\/p>\n\n\n\n<p>Choose a time range to delete your cookies. To delete everything, choose <b>All time<\/b>.<\/p>\n\n\n\n<p>Check the box next to <b>Cookies<\/b> and other site data.<\/p>\n\n\n\n<p>Click <b>Clear data<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1058\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/01-cookies-and-data.jpg\" alt=\"Chrome's 'Clear browsing data' window with the 'Cookies and other site data' box selected.\" class=\"wp-image-43466 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/01-cookies-and-data-300x198.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/01-cookies-and-data-1024x677.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/01-cookies-and-data-768x508.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/01-cookies-and-data-1536x1016.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-600x397.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-1200x794.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-730x483.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-1460x965.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-784x518.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-1568x1037.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/01-cookies-and-data-877x580.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1058;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Firefox<\/h4>\n\n\n\n<p>In the <b>Menu bar<\/b> at the top of the screen, click on <b>Firefox<\/b> and select <b>Preferences<\/b>.<\/p>\n\n\n\n<p>Click <b>Privacy &amp; Security<\/b> from the menu on the left-hand side. Then, go to the <b>Cookies and Site Data<\/b> section. Click the <b>Clear Data<\/b>\u2026 button, and the Clear Data cookie notification dialog box will pop up.<\/p>\n\n\n\n<p>Both <b>Cookies and Site Data<\/b> and <b>Cached Web Content<\/b> will be checked by default, so un-check <b>Cached Web Content<\/b> if you only want to clear cookies. Then, click <b>Clear<\/b>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Safari<\/h4>\n\n\n\n<p>In the menu bar at the top of the screen, click <b>Safari <\/b>and select <b>Settings<\/b>.<\/p>\n\n\n\n<p>Choose<b> Privacy<\/b> from the options across the top of the popup box, and then click <b>Manage Website Data<\/b>. From there, you can choose specific sites to remove just their cookies or click <b>Remove All<\/b> to clear all cookies.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Microsoft Edge<\/h4>\n\n\n\n<p>At the top right, click on the three horizontal dots icon. In the drop-down menu, click the <b>gear<\/b> icon for settings. From the <b>settings menu<\/b>, select <b>Privacy, search, and services<\/b>.<\/p>\n\n\n\n<p>Choose <b>Clear browsing data<\/b>, then <b>Clear browsing data now<\/b>, and <b>Choose what to clear<\/b>.<\/p>\n\n\n\n<p>Choose a time range to clear. Then, select <b>Cookies and other site data<\/b> and click <b>Clear now<\/b>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Clear Your Browser\u2019s Cache<\/h3>\n\n\n\n<p>If you clear your cookies and the logging out problem persists, it&#8217;s safe to assume it&#8217;s not a cookie issue. Now it&#8217;s time to clear your cache. Your browser cache contains saved versions of the websites you visit. Browsers keep a cache to store information, so <a href=\"https:\/\/www.dreamhost.com\/blog\/optimize-wordpress-website-speed\/\" target=\"_blank\" rel=\"noopener\">pages load faster<\/a> when you visit the same pages multiple times.<\/p>\n\n\n\n<p>However, if a page is cached in your browser with an expired cookie, it could be the cause of your logging out issue. Clearing out the stored information in your browser cache is a common troubleshooting step that can help.<\/p>\n\n\n\n<p>Like clearing browser cookies, clearing your cache is a simple and straightforward fix on most major browsers. Below, we&#8217;ll walk you through the steps, which should already look familiar if you follow the tutorial to clear your cookies.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Google Chrome<\/h4>\n\n\n\n<p>Once again, click on the <b>three vertical dots<\/b> icon at the top right of your browser, then click <b>Clear browsing data<\/b>. A new tab will open with a popup box. Like before, make sure you&#8217;re on the <b>Basic<\/b> tab.<\/p>\n\n\n\n<p>Choose a time range to clear your cache. To delete everything, choose <b>All time<\/b>.<\/p>\n\n\n\n<p>Check the box next to <b>Cached images and files<\/b>.<\/p>\n\n\n\n<p>Click <b>Clear data<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1045\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/02-Cached-images-and-files.jpg\" alt=\"Chrome browser's 'Clear browsing data' window with the 'Cached images and files' box selected.\" class=\"wp-image-43467 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/02-Cached-images-and-files-300x196.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/02-Cached-images-and-files-1024x669.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/02-Cached-images-and-files-768x502.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/02-Cached-images-and-files-1536x1003.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-600x392.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-1200x784.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-730x477.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-1460x954.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-784x512.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-1568x1024.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/02-Cached-images-and-files-877x573.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1045;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Firefox<\/h4>\n\n\n\n<p>In the <b>Menu<\/b> bar at the top of the screen, click on <b>Firefox<\/b> and select <b>Preferences<\/b>.<\/p>\n\n\n\n<p>Click <b>Privacy &amp; Security<\/b> from the left side menu. Then, go to the <strong>Cookies and Site Data<\/strong> section. Click the <b>Clear Data\u2026<\/b> button, and the <b>Clear Data popup box<\/b> will appear.<\/p>\n\n\n\n<p>Both <b>Cookies and Site Data<\/b> and <b>Cached Web Content<\/b> will be checked by default, so <b>un-check Cookies and Site Data<\/b> if you only want to clear your cache. Then, click <b>Clear<\/b>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Safari<\/h4>\n\n\n\n<p>In the <b>menu<\/b> <b>bar<\/b> at the top of the screen, click on <strong>Safari<\/strong> and select <b>Settings<\/b>.<\/p>\n\n\n\n<p>Choose <b>Privacy<\/b> from the options at the top of the popup box, and then click <b>Manage Website Data<\/b>. From there, you can see a list of sites and whether they have cookies, cache data, or both saved. You can select specific sites to clear their data, or click <b>Remove All <\/b>to clear your entire cache and all cookies simultaneously.<\/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<h4 class=\"wp-block-heading\">Microsoft Edge<\/h4>\n\n\n\n<p>Go to <b>Settings<\/b>, then <b>Privacy<\/b> and <b>Clear browsing data.<\/b> Then, use the keyboard command <b>Ctrl + Shift + Del.<\/b> You can also go to edge:\/\/settings\/clearbrowserdata in your browser to clear your browser cache.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Check Your Browser Settings<\/h3>\n\n\n\n<p>If clearing your browser cache and cookies didn&#8217;t stop WordPress from logging you out, then it&#8217;s time to look at your browser settings. A usual suspect is your browser cookie settings, which may be forcing cookies to expire and forget your login details,&nbsp; prompting you to log back into WordPress constantly.<\/p>\n\n\n\n<p>Luckily, this is another pretty easy fix. Below, we&#8217;ll show you how to access and check your browser settings in the four major browsers we&#8217;ve been using so far.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Chrome<\/h4>\n\n\n\n<p>Once again, click on the <b>three vertical dots<\/b> icon at the top right of your browser, then click <b>Settings<\/b>. Select <b>Privacy and security<\/b> in the lefthand menu and then on the right, select <b>Site settings<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1236\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/03-Privacy-and-security-site-settings.jpg\" alt=\"'Privacy and security' tab on the Google Chrome Settings window with 'Site settings' annotated.\" class=\"wp-image-43468 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/03-Privacy-and-security-site-settings-300x232.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/03-Privacy-and-security-site-settings-1024x791.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/03-Privacy-and-security-site-settings-768x593.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/03-Privacy-and-security-site-settings-1536x1187.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-600x464.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-1200x927.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-730x564.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-1460x1128.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-784x606.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-1568x1211.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/03-Privacy-and-security-site-settings-877x677.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1236;\" \/><\/figure>\n\n\n\n<p>Scroll down and click <b>Third-party cookies<\/b> under Content. From there, you can choose to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Allow third-party cookies<\/li>\n\n\n\n<li>Block third-party cookies in Incognito mode<\/li>\n\n\n\n<li>Block third-party cookies<\/li>\n<\/ul>\n\n\n\n<p>If cookies are blocked, that could be interfering with your WordPress session and logging you out. If this is the case, select <b>Allow third-party cookies<\/b> by clicking on the button next to it. And voila! Now your browser will save the cookie for your WordPress login session.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"842\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/04-Allow-third-party-cookies.jpg\" alt=\"Chrome's 'Default behavior' dialog box with the 'Allow third-party cookies' option selected.\" class=\"wp-image-43469 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/04-Allow-third-party-cookies-300x158.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/04-Allow-third-party-cookies-1024x539.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/04-Allow-third-party-cookies-768x404.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/04-Allow-third-party-cookies-1536x808.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-600x316.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-1200x632.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-730x384.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-1460x768.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-784x413.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-1568x825.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/04-Allow-third-party-cookies-877x462.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/842;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Firefox<\/h4>\n\n\n\n<p>In the <b>Menu<\/b> bar at the top of the screen, click on <b>Firefox<\/b> and select <b>Preferences<\/b>.<\/p>\n\n\n\n<p>Choose <b>Privacy<\/b> from the options at the top of the popup box. This is where you can view your settings for <b>Enhanced Tracking Protection<\/b>, which includes cookies.<\/p>\n\n\n\n<p>From here, you can choose:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Standard<\/b><\/li>\n\n\n\n<li><b>Strict<\/b><\/li>\n\n\n\n<li><b>Custom<\/b><\/li>\n<\/ul>\n\n\n\n<p>If <b>Strict<\/b> or <b>Custom<\/b> is selected, some or all cookies may be blocked. Selecting <b>Standard<\/b> will revert Firefox to default cookie settings and allow all cookies.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Safari<\/h4>\n\n\n\n<p>In the <b>menu<\/b> bar at the top of the screen, click on <b>Safari<\/b> and select <b>Settings<\/b>.<\/p>\n\n\n\n<p>Choose <b>Privacy<\/b> from the options at the top of the popup box. From here, you can choose an option for <b>Cookies<\/b> <b>and website data<\/b> from these four:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always block<\/li>\n\n\n\n<li>Allow from current website only<\/li>\n\n\n\n<li>Allow from websites I visit<\/li>\n\n\n\n<li>Always allow<\/li>\n<\/ul>\n\n\n\n<p>Choose <b>Always allow<\/b> to make sure cookies are allowed and won&#8217;t cause WordPress-related issues.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Microsoft Edge<\/h4>\n\n\n\n<p>At the top right, click on the <b>three horizontal dots<\/b> icon. In the drop-down menu, click the <b>gear <\/b>icon for settings. From the settings menu, select <b>Cookies and site permissions<\/b>.<\/p>\n\n\n\n<p>Click <b>Manage and delete cookies and site data<\/b>. From here, you have three options:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Allow sites to save and read cookie data<\/li>\n\n\n\n<li>Block third-party cookies<\/li>\n\n\n\n<li>Preload pages for faster browsing and searching<\/li>\n<\/ol>\n\n\n\n<p>Choose <b>Allow sites to save and read cookie data<\/b> to make sure your cookie settings aren&#8217;t causing the &#8220;WordPress keeps logging out&#8221; error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Clear Your WordPress Site\u2019s Cache<\/h3>\n\n\n\n<p>Now that we&#8217;ve covered browser-related causes, it&#8217;s time to explore other potential reasons WordPress keeps logging you out. If you have a <a href=\"https:\/\/www.dreamhost.com\/blog\/caching-solutions-for-wordpress\/\" target=\"_blank\" rel=\"noopener\">WordPress caching plugin<\/a> installed, it&#8217;s the next place to look. It&#8217;s possible that the plugin is storing an outdated version of your site, triggering the &#8220;WordPress logging out&#8221; issue.<\/p>\n\n\n\n<p>Depending on which caching plugin you use, you&#8217;ll typically have an option (or a set of options) on your admin dashboard to clear your WordPress cache with just one click. Go to your dashboard and look at the admin bar at the top of the menu. It&#8217;ll likely say something like <b>Delete Cache<\/b> or <b>Purge Cache<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"706\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/05-Purge-cache.jpg\" alt=\"WordPress's dashboard with 'Page Cache' circled in the admin bar at the top of the page.\" class=\"wp-image-43470 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/05-Purge-cache-300x132.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/05-Purge-cache-1024x452.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/05-Purge-cache-768x339.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/05-Purge-cache-1536x678.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-600x265.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-1200x530.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-730x322.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-1460x644.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-784x346.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-1568x692.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/05-Purge-cache-877x387.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/706;\" \/><\/figure>\n\n\n\n<p>Once you click the button or choose the option you want, WordPress will direct you to your caching plugin, where you can either select more options or confirm that you want to delete your cache. You may even be able to choose specific cache elements to delete. When you reload your WordPress site, it will automatically generate a new cache.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Clear Your CDN Cache<\/h3>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>CDN<\/h3>\n    <p>CDN is an abbreviation for \u201cContent Delivery Network\u201d. It refers to a geographically-distributed network of web servers (and their data centers). The entities that make up a CDN collaborate to ensure speedy content delivery via the internet.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/cdn\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>Although it&#8217;s rare, a CDN caching issue could be the reason WordPress keeps logging you out. Some caching plugins allow you to integrate your CDN with them, meaning you can clear your CDN cache within the plugin options. We&#8217;ll show you how to do this in the <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\">W3 Total Cache<\/a> plugin\u2014 a free, easy-to-use cache plugin option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1095\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/06-Purge-CDN.jpg\" alt=\"'Performance' tab selected from WordPress's dashboard to display CDN plugins.\" class=\"wp-image-43471 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/06-Purge-CDN-300x205.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/06-Purge-CDN-1024x701.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/06-Purge-CDN-768x526.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/06-Purge-CDN-1536x1051.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-600x411.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-1200x821.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-730x500.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-1460x999.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-784x537.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-1568x1073.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/06-Purge-CDN-877x600.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1095;\" \/><\/figure>\n\n\n\n<p>From your WordPress admin dashboard, click on <b>Performance<\/b>, then <b>CDN<\/b>.<\/p>\n\n\n\n<p>From there, the W3 Total Cache plugin should give you two buttons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One to purge single objects from the CDN<\/li>\n\n\n\n<li>One to purge the CDN completely<\/li>\n<\/ul>\n\n\n\n<p>In this case, you&#8217;ll want to click the second button and purge the entire CDN cache. Then, you can see if the login issue has been resolved.<\/p>\n\n\n\n<p>If you don&#8217;t have a cache plugin with integrated CDNs and you don&#8217;t want to download one like W3 Total Cache, you&#8217;ll need to contact your CDN provider to find out how to clear your CDN cache.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6. Check Your WordPress Site Address<\/h3>\n\n\n\n<p>Another reason why WordPress might keep logging you out is because there&#8217;s a mismatch between your WordPress site address and the URL saved in the login session cookies. Often, this happens after a domain name change or when you add an SSL certificate, usually because you might forget to update the website URLs in WP-Admin.<\/p>\n\n\n\n<p>You can check this by going to <b>Settings<\/b> (in the menu on the left side menu on your admin dashboard) and clicking on <b>General<\/b>. You may need to scroll down a bit, but you should see two URL fields labeled:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>WordPress Address (URL)<\/b><\/li>\n\n\n\n<li><b>Site Address (URL)<\/b><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1063\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/07-Website-address-and-site-address.jpg\" alt=\"'Settings' tab selected from WordPress's left-side menu with 'WordPress Address (URL)' and 'Site Address (URL) fields annotated.\" class=\"wp-image-43472 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/07-Website-address-and-site-address-300x199.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/07-Website-address-and-site-address-1024x680.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/07-Website-address-and-site-address-768x510.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/07-Website-address-and-site-address-1536x1020.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-600x399.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-1200x797.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-730x485.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-1460x970.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-784x521.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-1568x1042.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/07-Website-address-and-site-address-877x583.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1063;\" \/><\/figure>\n\n\n\n<p><b>WordPress Address<\/b> is the location of your WordPress files, while <b>Site Address<\/b> is the address visitors need to type to find and access your website.<\/p>\n\n\n\n<p>In the <b>Site Address<\/b> field, you can set the URL to either http:\/\/www.yourdomain.com or http:\/\/yourdomain.com. Some people prefer not to have \u201cwww\u201d before their domain name for branding reasons or to make their URLs easier to type.<\/p>\n\n\n\n<p>What you&#8217;re looking for here is if the two addresses in both these fields are mismatched. If that&#8217;s the case, WordPress may see the discrepancy and log you out by default. You may be able to just edit the URLs right there in your <b>Settings<\/b>, then click the <b>Save Changes<\/b> button at the bottom of the screen. However, if that doesn&#8217;t work or if you can&#8217;t stay logged in for long enough to update the URL settings, you&#8217;ll have to fix this another way.<\/p>\n\n\n\n<p>The best way to do this is to edit your wp-config.php file. This document contains vital information for your WordPress site, like its database connection details.<\/p>\n\n\n\n<p>You can access this file using a <a href=\"https:\/\/www.dreamhost.com\/blog\/ftp-sftp-guide-for-wordpress-users\/\" target=\"_blank\" rel=\"noopener\">Secure File Transfer Protocol (SFTP) client<\/a>. One of the most popular options is the <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">free FileZilla program<\/a>. If you\u2019re a DreamHost customer, you can also use our secure <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/360003490852\" target=\"_blank\" rel=\"noopener\">WebFTP program<\/a>.<\/p>\n\n\n\n<p>Start your SFTP client and look for the wp-config.php file. You can find it in the root directory of your domain.<\/p>\n\n\n\n<p>Open the file and paste the following code into it. You\u2019ll want to swap out the example text for your own domain names:<\/p>\n\n\n\n<p><b>define( &#8216;WP_HOME&#8217;, &#8216;http:\/\/example.com&#8217; );<br><\/b><b>define( &#8216;WP_SITEURL&#8217;, &#8216;http:\/\/example.com&#8217; );<\/b><\/p>\n\n\n\n<p>Now save the file and close your SFTP client. After that, you can go back to your WordPress dashboard to check if the logging out issue was resolved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7. Disable And Re-enable WordPress Plugins<\/h3>\n\n\n\n<p>Are you still with us? If none of the reasons we&#8217;ve covered so far seem to be causing your WordPress logging-out issue, the next troubleshooting step is to check for conflicts with plugins.<\/p>\n\n\n\n<p>A <a href=\"https:\/\/www.dreamhost.com\/blog\/most-popular-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\">plugin<\/a> is an add-on that you have installed on your WordPress site. You may have sourced it from the <b>Plugins<\/b> section on your site or through the <a href=\"https:\/\/wordpress.org\/plugins\/\" target=\"_blank\" rel=\"noopener\">WordPress plugin directory<\/a>.<\/p>\n\n\n\n<p>A faulty plugin could be causing WordPress to log you out if it performs login authentication using cookies to function on your site. To see if this is your problem, you need to isolate and disable the faulty plugin.<\/p>\n\n\n\n<p>Apart from the reasons we\u2019ve mentioned so far, a faulty WordPress plugin could also be behind the \u201cWordPress keeps logging me out\u201d issue. This is particularly likely if that plugin performs login authentication using cookies. Poorly-coded plugins can also be the cause of login or logout issues. To see if this is the cause of your problem, you will need to pinpoint the faulty plugin first and then disable it.<\/p>\n\n\n\n<p>If you only have a few active plugins, this will be an easy process. However, if you have many add-ons, buckle in \u2014 this is going to take a while!<\/p>\n\n\n\n<p>You can deactivate plugins by clicking <b>Plugins<\/b> and then <b>Installed Plugins<\/b> on the left side menu on your WordPress admin dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"563\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/08-installed-plugins.jpg\" alt=\"'Plugins' drop-down menu with 'Installed Plugins' selected and an option to 'Add New Plugin.'\" class=\"wp-image-43473 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/08-installed-plugins-300x106.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/08-installed-plugins-1024x360.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/08-installed-plugins-768x270.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/08-installed-plugins-1536x540.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-600x211.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-1200x422.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-730x257.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-1460x514.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-784x276.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-1568x552.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/08-installed-plugins-877x309.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/563;\" \/><\/figure>\n\n\n\n<p>Check the box next to <b>Plugin<\/b> at the top of the list to select all of your installed plugins, then access the <b>Bulk actions<\/b> drop-down box above the list. Choose <b>Deactivate<\/b> and then click <b>Apply<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"657\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/09-bulk-actions.jpg\" alt=\"'Bulk actions' chosen from the drop-down menu and highlighted on top of the installed plugins options.\" class=\"wp-image-43474 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/09-bulk-actions-300x123.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/09-bulk-actions-1024x420.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/09-bulk-actions-768x315.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/09-bulk-actions-1536x631.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-600x246.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-1200x493.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-730x300.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-1460x600.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-784x322.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-1568x644.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/09-bulk-actions-877x360.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/657;\" \/><\/figure>\n\n\n\n<p>You\u2019ll need to reactivate each plugin one at a time and test to determine if it is the issue. You can do this by enabling one plugin, logging back into your WordPress dashboard, and checking to see if it triggers the problem. Clear your cache in between each plugin. When you start having login issues again, the last plugin you reactivated is most likely to blame.<\/p>\n\n\n\n<p>If you find a faulty plugin, you\u2019ll want to delete it from your website. You may even want to contact the plugin author to let them know their add-on isn\u2019t functioning correctly.<\/p>\n\n\n\n<p>If the logging out issue prevents you from accessing your <b>Plugins<\/b> dashboard, you can deactivate all your plugins via FTP instead. Using an SFTP client, like our <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/360003490852\" target=\"_blank\" rel=\"noopener\">WebFTP program<\/a>, open your site&#8217;s wp-content folder and look for <b>Plugins<\/b>. When you find the <b>Plugins<\/b> folder, rename it something like <b>plugins_old<\/b>. This will make your plugins inaccessible to your site, effectively deactivating them. Then, change the name of the <b>Plugins<\/b> folder back. This will restore access to your plugins without reactivating them.<\/p>\n\n\n\n<p>Now, log back into your WordPress site. It&#8217;s time for the next part of this troubleshooting method: figuring out which faulty plugin was causing your login issues. Head back to the <b>Installed Plugins <\/b>area of your admin dashboard and follow the same steps we outlined above for reactivating plugins one by one to test them. Don&#8217;t forget to clear your cache in between each plugin!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">8. Increase Cookie Expiration Time<\/h3>\n\n\n\n<p>Could your WordPress logging-out issue be just a session timeout problem?<\/p>\n\n\n\n<p>Suppose you click the <b>Remember me<\/b> checkbox on your WordPress login screen but find that it&#8217;s logging you out too often anyway. In that case, you can increase the time period you stay logged in by extending the expiration period for your site&#8217;s authentication cookie. Doing this will increase the amount of time you stay logged in, but keep in mind that this can create security concerns, so if you plan on increasing your cookie expiration time to stop WordPress from logging you out as often, you should <a href=\"https:\/\/www.dreamhost.com\/blog\/wordpress-security-through-obscurity\/\" target=\"_blank\" rel=\"noopener\">tighten up your site&#8217;s security in other ways<\/a>.<\/p>\n\n\n\n<p>You&#8217;ll need to use your SFTP client again to increase your site&#8217;s cookie expiration time. Locate the functions.php file of your <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-create-wordpress-child-theme\/\" target=\"_blank\" rel=\"noopener\">child theme<\/a> and add this code:<\/p>\n\n\n\n<p><code><b>function qode_change_auth_cookie_expiration_period( $expiration_period ) {<br>\n<\/b><b>$expiration_period = MONTH_IN_SECONDS; \/\/ 1 month in seconds<br>\n<\/b><b>return $expiration_period;<br>\n<\/b><b>}<br>\n<\/b><b>add_filter( 'auth_cookie_expiration', 'qode_change_auth_cookie_expiration_period' );<\/b><\/code><\/p>\n\n\n\n<p>This code uses a time constant (MONTH_IN_SECONDS) to set the authentication cookie expiration period to one month. You can also use one of these time constants instead if you want to set a different time period for your authentication cookie expiration period:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DAY_IN_SECONDS<\/li>\n\n\n\n<li>WEEK_IN_SECONDS<\/li>\n\n\n\n<li>YEAR_IN_SECONDS<\/li>\n<\/ul>\n\n\n\n<p>Note: If you don&#8217;t want to edit any code, <a href=\"https:\/\/wordpress.org\/plugins\/biscotti\/\" target=\"_blank\" rel=\"noopener\">Biscotti<\/a> is a plugin that modifies the expiration of the logged-in user cookie in WordPress to three months, six months, or one year. There\u2019s a plugin for every problem!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9. Check For Theme Conflicts<\/h3>\n\n\n\n<p>The next possibility is a poorly coded theme.<\/p>\n\n\n\n<p>WordPress has many <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-pick-wordpress-theme\/\" target=\"_blank\" rel=\"noopener\">high-quality themes<\/a> available. However, as an open-source CMS, any developer can create a custom theme and upload it for others to use. Therefore, a poorly-coded one can slip through the cracks. It can then cause issues on your site, including the \u201cWordPress keeps logging me out\u201d problem.<\/p>\n\n\n\n<p>Each year, WordPress releases a new default theme. This year, it&#8217;s <a href=\"https:\/\/make.wordpress.org\/core\/2023\/08\/24\/introducing-twenty-twenty-four\/\" target=\"_blank\" rel=\"noopener\">Twenty Twenty-Four<\/a>. To quickly and easily check for a theme conflict, you can revert your site to this or one of WordPress&#8217; past default themes like Twenty Twenty-Three or Twenty Twenty-Two. Just go to the side menu of your admin dashboard, hover over <b>Appearance<\/b>, and then click <b>Themes<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"995\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/10-appearance-themes.jpg\" alt=\"'Appearance' tab selected and 'Themes' chosen from the drop-down menu with options also for menus and widgets.\" class=\"wp-image-43475 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/10-appearance-themes-300x187.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/10-appearance-themes-1024x637.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/10-appearance-themes-768x478.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/10-appearance-themes-1536x955.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-600x373.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-1200x746.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-730x454.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-1460x908.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-784x488.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-1568x975.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2021\/11\/10-appearance-themes-877x545.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/995;\" \/><\/figure>\n\n\n\n<p>From this page, you can activate a past default theme (unless you deleted it, in which case you&#8217;ll need to reinstall it first). Before activating an older theme, see if a new version is available. You can also check the left-side menu for updates.<\/p>\n\n\n\n<p>Once a new theme is activated, <b>log out <\/b>of WordPress and<b> log back in<\/b> to see if your issue is resolved.<\/p>\n\n\n\n<p>To avoid compatibility issues from installing poorly-coded themes, make sure to read reviews from other users. Just go to the<a href=\"https:\/\/wordpress.org\/themes\" target=\"_blank\" rel=\"noopener\"> WordPress theme directory<\/a> and search for the name of the theme. On the right-hand side, you\u2019ll see the theme\u2019s star rating, which will give you a quick idea about its popularity. Click the <b>See all <\/b>link at the top to read its reviews.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">10. Contact Your Hosting Provider<\/h3>\n\n\n\n<p>Hopefully, you\u2019ve discovered what was causing your WordPress logging-out problem by now. However, if none of these common errors were the culprit, it may be time to call in some reinforcements. At this point, it&#8217;s a good idea to contact your web hosting provider for assistance because the issue could be a domain or server misconfiguration.<\/p>\n\n\n\n<p>If your hosting company is DreamHost, just get in touch with <a href=\"https:\/\/www.dreamhost.com\/support\/\" target=\"_blank\" rel=\"noopener\">our customer support team<\/a>. We&#8217;ll be more than happy to help you solve the problem!<\/p>\n\n\n\n<h2 id=\"other\" class=\"wp-block-heading\">Fixing Other WordPress Problems<\/h2>\n\n\n\n<p>If you\u2019re running into <a href=\"https:\/\/www.dreamhost.com\/blog\/common-wordpress-errors\/\" target=\"_blank\" rel=\"noopener\">any other issues with your WordPress site<\/a>, we have a comprehensive list of troubleshooting tutorials:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/dns-server-not-responding\/\" target=\"_blank\" rel=\"noopener\">DNS Server Not Responding Error? Here\u2019s How To Fix It (13 Ways)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/\" target=\"_blank\" rel=\"noopener\">How To Resolve The ERR_CONNECTION_REFUSED Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-redirect-loop-wordpress-error\/\" target=\"_blank\" rel=\"noopener\">How To Fix \u201cERR_TOO_MANY_REDIRECTS\u201d In WordPress (13 Tricks)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/502-bad-gateway-error\/\" target=\"_blank\" rel=\"noopener\">502 Bad Gateway Error: What It Is and How to Fix It<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/err-connection-timed-out\/\" target=\"_blank\" rel=\"noopener\">How to Fix the ERR_CONNECTION_TIMED_OUT Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-403-forbidden-error-wordpress\/\" target=\"_blank\" rel=\"noopener\">403 Forbidden Error: What It Means &amp; 11 Ways To Fix It Fast<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-404-error\/\" target=\"_blank\" rel=\"noopener\">How to Fix the WordPress 404 Not Found Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/troubleshooting-wordpress-white-screen-death\/\" target=\"_blank\" rel=\"noopener\">Fixing the \u201cWhite Screen of Death\u201d in WordPress<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/your-connection-is-not-private\/\" target=\"_blank\" rel=\"noopener\">SSL Certificates: Your Guide to the \u2018Your Connection Is Not Private\u2019 Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/dns-probe-finished-nxdomain\/\" target=\"_blank\" rel=\"noopener\">What Is the DNS_PROBE_FINISHED_NXDOMAIN Error? A Definitive Guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/fixing-the-405-error\/\" target=\"_blank\" rel=\"noopener\">Your Guide to Fixing the 405 Method Not Allowed Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/401-unauthorized-error\/\" target=\"_blank\" rel=\"noopener\">401 Unauthorized Error: What It Is &amp; How to Fix It<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/400-bad-request-error\/\" target=\"_blank\" rel=\"noopener\">How to Fix: 400 Bad Request Error<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/fix-err-ssl-protocol-error\/\" target=\"_blank\" rel=\"noopener\">How to Fix the ERR_SSL_PROTOCOL_ERROR (7 Ways)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/fix-503-error-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to Fix the 503 Error in WordPress<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-common-ssl-issues-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to Fix Common SSL Issues in WordPress (5 Key Solutions)<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"master\" class=\"wp-block-heading\">Mastering The &#8220;WordPress Keeps Logging Me Out&#8221; Problem<\/h2>\n\n\n\n<p>The \u201cWordPress keeps logging me out\u201d problem can be frustrating. But as you&#8217;ve just seen, you can use many straightforward troubleshooting methods to identify and solve the issue.<\/p>\n\n\n\n<p>Where clearing your cookies or cache takes less than a minute, individually checking for conflicting plugins can eat up a lot of time. Following the steps in this tutorial, you can start with the most straightforward possibilities and gradually work toward more difficult and time-consuming ones.<\/p>\n\n\n\n<p>Are you looking for a WordPress host that can help you out with any technical problems? DreamHost has a support team that can walk you through any website-related issues. Check out one of our <a href=\"https:\/\/www.dreamhost.com\/wordpress\/\" target=\"_blank\" rel=\"noopener\">WordPress hosting packages<\/a> today!<\/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      Your Great Idea Starts with a Domain Name\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      Don\u2019t let someone else register your URL. Search DreamHost\u2019s 400+ TLDs to find the perfect fit for your website.\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/domains\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Master Your Domain                    <\/a>\n\n  <\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re on this page, you\u2019ve probably searched for something like, &#8220;Help! WordPress keeps logging me out!&#8221; WordPress is the internet&#8217;s most popular Content Management System (CMS), with an estimated 62% of the CMS market share. Despite this, it isn\u2019t perfect. Things can still go wrong. For example, you may need to deal with the [&hellip;]<\/p>\n","protected":false},"author":1077,"featured_media":43464,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"Struggling with the \u201cWordPress keeps logging me out\u201d issue? Our guide offers quick fixes to keep you logged in and productive.","toc_headlines":"[[\"why\",\"Why WordPress Keeps Logging Out\"],[\"fix\",\"How To Fix The \u201cWordPress Keeps Logging Out\u201d Problem (10 Methods)\"],[\"other\",\"Fixing Other WordPress Problems\"],[\"master\",\"Mastering The \\\"WordPress Keeps Logging Me Out\\\" Problem\"]]","hide_toc":false,"footnotes":""},"categories":[13127,550,696],"tags":[],"class_list":["post-32117","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>How To Fix \u201cWordPress Keeps Logging Me Out\u201d - DreamHost<\/title>\n<meta name=\"description\" content=\"Struggling with the \u201cWordPress keeps logging me out\u201d issue? Our guide offers quick fixes to keep you logged in and productive.\" \/>\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-keeps-logging-out-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix WordPress Logout Problems Fast\" \/>\n<meta property=\"og:description\" content=\"If you\u2019re screaming \u201cWordPress keeps logging me out\u201d from the hills, check out our easy-to-follow guide and stay logged in for good.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/\" \/>\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=\"2024-03-08T09:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T02:36:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1220-x-628-OGIMAGE-_-Help-WordPress-Keeps-Logging-me-Out.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jos Velasco\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Fix WordPress Logout Problems Fast\" \/>\n<meta name=\"twitter:description\" content=\"If you\u2019re screaming \u201cWordPress keeps logging me out\u201d from the hills, check out our easy-to-follow guide and stay logged in for good.\" \/>\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=\"Jos Velasco\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Fix \u201cWordPress Keeps Logging Me Out\u201d - DreamHost","description":"Struggling with the \u201cWordPress keeps logging me out\u201d issue? Our guide offers quick fixes to keep you logged in and productive.","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-keeps-logging-out-error\/","og_locale":"en_US","og_type":"article","og_title":"Fix WordPress Logout Problems Fast","og_description":"If you\u2019re screaming \u201cWordPress keeps logging me out\u201d from the hills, check out our easy-to-follow guide and stay logged in for good.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2024-03-08T09:00:00+00:00","article_modified_time":"2025-05-22T02:36:17+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1220-x-628-OGIMAGE-_-Help-WordPress-Keeps-Logging-me-Out.jpg","type":"image\/jpeg"}],"author":"Jos Velasco","twitter_card":"summary_large_image","twitter_title":"Fix WordPress Logout Problems Fast","twitter_description":"If you\u2019re screaming \u201cWordPress keeps logging me out\u201d from the hills, check out our easy-to-follow guide and stay logged in for good.","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Jos Velasco","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/"},"author":{"name":"Jos Velasco","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/33a01bfa83e29abbe21403d23dd8ea1a"},"headline":"How To Fix The \u201cWordPress Keeps Logging Me Out\u201d Problem","datePublished":"2024-03-08T09:00:00+00:00","dateModified":"2025-05-22T02:36:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/"},"wordCount":3775,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1460-x-1095-BLOG-HERO-_-Help-WordPress-Keeps-Logging-me-Out.jpg","articleSection":["Errors &amp; Troubleshooting","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/","name":"How To Fix \u201cWordPress Keeps Logging Me Out\u201d - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1460-x-1095-BLOG-HERO-_-Help-WordPress-Keeps-Logging-me-Out.jpg","datePublished":"2024-03-08T09:00:00+00:00","dateModified":"2025-05-22T02:36:17+00:00","description":"Struggling with the \u201cWordPress keeps logging me out\u201d issue? Our guide offers quick fixes to keep you logged in and productive.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1460-x-1095-BLOG-HERO-_-Help-WordPress-Keeps-Logging-me-Out.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/11\/1460-x-1095-BLOG-HERO-_-Help-WordPress-Keeps-Logging-me-Out.jpg","width":1460,"height":1095,"caption":"How To Fix The \u201cWordPress Keeps Logging Me Out\u201d Problem"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Fix The \u201cWordPress Keeps Logging Me Out\u201d Problem"}]},{"@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\/33a01bfa83e29abbe21403d23dd8ea1a","name":"Jos Velasco","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/08\/jos-velasco-150x150.png","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/08\/jos-velasco-150x150.png","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/08\/jos-velasco-150x150.png","caption":"Jos Velasco"},"description":"Jos Velasco is a WordPress Professional Consultant at DreamHost. His responsibilities include helping with advanced WordPress cases, creating training material, and identifying trends impacting the WordPress community. In his free time, he enjoys climbing mountains, eating healthy, and watching drama movies. Follow Jos on LinkedIn: https:\/\/www.linkedin.com\/in\/josvelasco\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/josvelasco\/"}]}},"lang":"en","translations":{"en":32117,"es":32143,"uk":50972,"pt":56826,"de":56829,"pl":56835,"ru":56838,"it":68342,"fr":70272,"nl":70299},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/32117","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\/1077"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=32117"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/32117\/revisions"}],"predecessor-version":[{"id":61413,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/32117\/revisions\/61413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/43464"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=32117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=32117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=32117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}