WordPress Themes, Plugins, Tutorials, Tips And More...

Tag: Problem

Understanding And Fixing WordPress Logging Out Issue

WordPress Settings

There are large chunk of frustrating problems which comes in between when one play with WordPress. While among this large problems list, one is WordPress keeps logging you out. Although it is strange in itself as if you just think of a situation where this content management system play such a havoc role in keeping you out from your own website (your own system).

People often perform number of activities the time when they fall in this issue trap and ends up in either deactivating all the plugins, clearing browser cookies, emptying cache and more. While none among the above list will actual work out but with our tutorial we are sharing a solution for you. In this tutorial article, we will be showing you up on how one can fix the issue.

Understand First

So what actually taking you out all the time, making both your time and work efficiency a hard go? Well, the answer for this lies in itself, WordPress basically set a cookie in your browser which will be required to authenticate a login session. This cookie is meant for the WordPress URL which being stored in your CMS’s settings section.

Say, if you are accessing from a URL that does not make a match to the URL which is in your WordPress settings section, then WordPress will not be able to authenticate your session, resulting in logging you out from the system. This means, the cause of the issue is when the WordPress URL and the Site Address don’t match i.e. constitute two different URLs, then  getting this issue in front of you is common.

How To Solve It?

#1 Method 1 – By Logging Into WordPress Dashboard

To make it solved, login to your WordPress dashboard and go to Settings » General. Once you are in your Settings section, all you have to check is that there will be the same URL both in your WordPress Address as well as Site Address area.

#2 Method 2 – Make It Fix Through FTP

If in case, the WordPress dashboard doesn’t allow you to login to the panel, then the second option in hand is to make it fix through FTP. Sign in to your website using FTP client, following by locating the wp-config.php file in your site’s root directory.

Here, download the file to your desktop and open it up with the help of a text editor. Simply add the lines of code below and you are done.

While if in case you want to use non-www in the URL, then, use the following lines of code.

WordPress Common Issues Part – 2

Note: Earlier, I discussed about what the WordPress common issues are and how to solve them – in case if you missed out that part, then you can check the article here. Hope, this tutorial – the second in the series – will also result out to be useful for you. Make sure to write onto the comments below sharing how you feel and think that the content makes sense for your daily WordPress chores (which often happens more than once in a day sometimes). Happy Reading!

Stop

You finished writing your great post – your great next post – or added new or deleted old categories or maybe you added a plugin or two. But, what exactly happened, you don’t know as nothing has changed in front of you. Whatever the changes you did, everything still remains the same. You even be wondering that the fixes isn’t got fixed. The condition makes your surprised, panicked, making you screamed out loudly or even shattered for some time, but in real you need not to worry as you don’t have to do nothing like that.

The solution here first before going or digging even a percentage technical inside, calm down first as only then you and me, we can proceed and understand that what actually has happened with you in the last few minutes. Recalling everything for a second or OK if you want time more, think for a minute that what all had happened. The problem in front of you might be because with WordPress, the database, server or something that you did jumbled up. But, wait as you will definitely get your smile back when I tell you that the culprit is your internet browser. Surprised!!! Well let’s now find the potential problem and sole the issue one by one.

Potential Problem #1 – The Browser Cache

The time from when computer was first born and the time when you and me – we both are using it – a lot of tech advancements come in between – and result of which the well known – our day-to-day used gadget (device or gizmo or whatever you like to call it upon) has made our lives much easier. You did notice that when you visit a website for the first time, it takes time and when the next time you open the same site; it opens in friction of seconds. It’s all because of the browser cache which meant to speed up internet browsing for you. The cache stores the web files and information so that the browser can reuse it when the page is refreshed or viewed again.

How To Clear The Browser Cache?

In some cases by just clicking on the Refresh button on the browser toolbar or press the F5 key will let you solve your problem. But, if this doesn’t work for you, then following the steps below will let you clean the browser’s cache so that the changes you did will comes visible to you once you reload the page.

Microsoft Internet Explorer

  • Hold down SHIFT and click on the REFRESH button in the toolbar under the menu.
  • If in case you are having problems clearing out the cache, then you have to force it by choosing from the menu: TOOLS > INTERNET OPTIONS > TEMPORARY FILES and click on Delete Temporary Files.
  • You can choose the checkbox to delete all Internet files as well as clear all your passwords and cookies (if you wish). But if the problem still stands still, then go all the way.

Mozilla Firefox

  • Hold down CTRL+SHIFT+R.
  • If in case you are having problems clearing out the cache, then you have to force it by choosing from the menu: Tools > Options > Privacy > Cache and select Clear.
  • If in case you are using Chris Pederick’s Web Developer Extension, click Miscellaneous and then Clear Cache.

Google Chrome

  • Click the Chrome menu Chrome menu on the browser toolbar.
  • Select Tools and then select Clear browsing data.
  • In the dialog that appears, select the checkboxes for the types of information that you want to remove.
  • Select from clearing everything or for some specific duration you want to delete. If problem still remains, then advisable to delete everything.
  • Click Clear browsing data and you are done.

Potential Problem #2 – A WordPress Cache Plugin

To speed up your WordPress blog, you might add cache functionality in lieu of helping you to have your blog load faster. The idea is good to use the plugin – WP Super Cache or W3 Total Cache – as it retrieves the pages of your blog from the cache instead of generating them again and again. But, do you know that if you make any unnecessary changes in the plugin, then these good-called cache plugins will not cleared the old version and keep on showing you that only. It’s always advisable to check the plugin’s instructions well before to find out how to clear its cache.

Suggested Reading: WP Super Cache Vs W3 Total Cache – Which One You Choose?

Potential Problem #3 – Server-side Caching

This third potential problem sustains for some, especially when you are among those who are using a webpage cache plugin called as Varnish on your web server which will result in not displaying the recent files in front of you. Keep remember this that if you want all your edits to appear the same time in front of you, you should either disable caching or configure in such a way that it doesn’t cache the files you are working with.

Also, note that some web hosting services may use cache plugins on the backend for which you probably not having the correct knowledge of it. But, again you can turn it off by visiting your webhost’s configuration panel. If in case, you yourself feel that you are not capable (technically wise) enough to turn it off, then it’s better to ask a support member for your webhost to do the same for you.

Photo Credit: Flickr/purpleapple428

Powered by WordPress & Theme by Anders Norén