Title: cookies problem i think
Last modified: August 19, 2016

---

# cookies problem i think

 *  [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/)
 * Hello,
 * I’ve installed wordpress 3.0.1 on my site (on a subdirectory)
 * [http://example.com/blog/](http://example.com/blog/)
 * i have a simple php page
 * [http://example.com/about-us/](http://example.com/about-us/)
 * i’ve added `<?php include 'blog/wp-blog-header.php'; ?>` in the header of this
   page and `<?php wp_loginout(); ?>` somewhere in the page…
 * this code display’s Log in all the time
 * how can i resolve this problem?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [tom_taylor_85](https://wordpress.org/support/users/tom_taylor_85/)
 * (@tom_taylor_85)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781392)
 * you want the login/out to disapear after you are logged in?
 *  Thread Starter [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781395)
 * No, i want it to remain there, but change to **Log out** when i’m logged in and**
   Log in** when i’m logged out
 * Excuse me for my bad english, but i’m not a native english speaker.
 * Thanks in advance.
 *  [tom_taylor_85](https://wordpress.org/support/users/tom_taylor_85/)
 * (@tom_taylor_85)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781396)
 * I do not use this code, so I am a little confused. Can I ask this first…if you
   log in from the side bar, does it work?
 * If it does work, can you click a button ON THE SIDE BAR to log out?
 *  Thread Starter [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781399)
 * yes it works (when i’m on /blog/ ) but you need to have in mind that
 * [http://example.com/blog/](http://example.com/blog/) is an wordpress instalation
 * and
 * [http://example.com/about-us/](http://example.com/about-us/) a simple php file
   with
 * that wp header include and that wp login code.
 *  [tom_taylor_85](https://wordpress.org/support/users/tom_taylor_85/)
 * (@tom_taylor_85)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781400)
 * would you mind sharing your site URL?
 *  Thread Starter [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781402)
 * PS: `<?php wp_loginout(); ?>` is the code from default sidebar.php
 *  Thread Starter [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781403)
 * the site is not online, it’s on localhost (it’s not done yet, i am still working
   on it.)
 *  Thread Starter [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * (@m3tsys)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781606)
 * can anybody help me?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘cookies problem i think’ is closed to new replies.

## Tags

 * [cookies](https://wordpress.org/support/topic-tag/cookies/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [log-in](https://wordpress.org/support/topic-tag/log-in/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [m3tsys](https://wordpress.org/support/users/m3tsys/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/cookies-problem-i-think/#post-1781606)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
