Latest Tech and Tips

How to Fix WordPress Keeps Logging Out Problem

9

Have you ever before came across the aggravating problem where WordPress keeps logging you out? Recently among our customers experienced this problem. She adhered to all the regular troubleshooting pointers like shutting down plugins, clearing cache, removing web browser cookies, and also also recovering WordPress from back-ups. None of the above benefited her. If you’re encountering this problem, after that we have a service for you. In this post, we will certainly reveal you how to fix WordPress keeps logging out problem additionally referred to as WordPress session timeout problem.

Why WordPress Keeps Logging Out?

In order to comprehend why WordPress keeps logging you out, you require to comprehend how the WordPress login procedure job.

WordPress establishes a cookie in your web browser to verify a login session. This cookie is established for the WordPress URL kept in your setups area. If you are accessing from a URL that does not match the one in your WordPress setups, after that WordPress will certainly not be able to verify your session.

Incorrect WordPress URL Settings

As you can see in the setups screenshot over, the WordPress URL and also the Site Address are 2 various URLs (notification one has www. and also the various other does not).

Video Tutorial

Subscribe to WPBeginner

If you do not such as the video clip or require even more directions, after that proceed analysis.

Fixing The Login Issue

A straightforward fix for this login problem is to ensure that you have the exact same URL in your Site Address and also WordPress Address areas in your WordPress setups. This suggests that you require to pick either www or a non-www URL in the both areas.

Login to your WordPress control panel and also go to Settings” General.

Correct WordPress URL Settings

If you can not access the admin location, after that you can upgrade these areas by editing and enhancing the wp-config. php data.

Connect to your internet site utilizing an FTP customer, and also situate the wp-config. php data in your website’s origin directory site. You demand to download this data to your Desktop and also open it in a full-screen editor likeNotepad Add this code simply over the line That’s all, quit editing and enhancing! Happy blog writing.

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

If you choose to make use of www in URL, after that utilize this code rather

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

Don’ t fail to remember to change example.com with your very own domain.

Why does this option job?

Technically talking, www is a subdomain itself. This suggests that URLs with www and also without it are really 2 various domain names.

By altering and also upgrading the URLs to the exact same address, it will certainly fix the problem.

An even more thorough technological description of www vs nude domain name is here.

Also it’s essential to keep in mind that inaccurate setups in WordPress Address and also Site Address areas might additionally result right into a lot of redirect problem inWordPress

We wish this post assisted you fix WordPress session timeout problem. If it does not after that check out how to fix WordPress login web page revitalizing and also rerouting problem.

If you liked this post, after that please subscribe to our YouTube Channel for WordPress video clip tutorials. You can additionally locate us on Twitter and alsoGoogle+

.