Title: manually clearing cookie?
Last modified: August 20, 2016

---

# manually clearing cookie?

 *  [davedillonphoto](https://wordpress.org/support/users/davedillonphoto/)
 * (@davedillonphoto)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/manually-clearing-cookie/)
 * Is there a bit of code I can put on my homepage that would manually clear the
   cookie? I’m having an issue where the referrer link is re-appearing even after
   I leave the site. Currently running 1.3 alpha
 * [http://wordpress.org/extend/plugins/smarter-navigation/](http://wordpress.org/extend/plugins/smarter-navigation/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [davedillonphoto](https://wordpress.org/support/users/davedillonphoto/)
 * (@davedillonphoto)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/manually-clearing-cookie/#post-3378446)
 * solved the problem myself using this line of code on my static home page:
 *     ```
       <?php
       setcookie ("smarter-navigation[title]", "", time() - 3600);
       ?>
       ```
   
 * Hope this can help someone else.

Viewing 1 replies (of 1 total)

The topic ‘manually clearing cookie?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smarter-navigation.svg)
 * [Smarter Navigation](https://wordpress.org/plugins/smarter-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smarter-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smarter-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/smarter-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smarter-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smarter-navigation/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [davedillonphoto](https://wordpress.org/support/users/davedillonphoto/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/manually-clearing-cookie/#post-3378446)
 * Status: not resolved