I'm running into a Major trouble.

Today I found out that when visiting a specific URL on my website, the admin toolbar shows up. Also for people who are not logged in. It appears that the visitor is logged in, but that's not true. All the links in the toolbar go to a 404 page. However, important information is being shown, like how many plugins need an update and even my login name.

Is anyone familiar with this?

Since it is a corporate website, I need a fix as soon as possible. (due to security reasons I won't post the exact url in public)

  • 1
    Never seen this but I assume that your theme or a plugin is doing something wrong, or caching is causing trouble maybe. Do you have this problem with a bundled theme like Twenty Fourteen?
    – s_ha_dum
    Commented Mar 31, 2014 at 14:07
  • 1
    Also: Does it only happen on your machine and the same browser you have been logged in before?
    – kraftner
    Commented Mar 31, 2014 at 14:09
  • @kraftner Yes it happened on other machines with other browsers (including my smartphone) which have never been used to log in.
    – stefanluk
    Commented Apr 2, 2014 at 11:13
  • @s_ha_dum Thanks! It was the W3 Total Cache plugin that I use. I've found that the CSS file that styled the toolbar on that specific page was in a cache folder of this plugin. So problem solved.
    – stefanluk
    Commented Apr 2, 2014 at 11:15
  • you like display adminbar when user not login? ya user login then display admin bar please specify?
    – Ravi Patel
    Commented Apr 2, 2014 at 11:50

1 Answer 1


Apparently the W3 Total Cache plugin caused this problem. I tried removing the toolbar via CSS by using display:none;. When this didn't worked, I found that the CSS that styled the toolbar was in one of the cache folders of this plugin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.