Title: Cookie bad request
Last modified: August 20, 2016

---

# Cookie bad request

 *  [wksuper](https://wordpress.org/support/users/wksuper/)
 * (@wksuper)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cookie-bad-request/)
 * Hi!
 * We are using version 0.9.5. of WP-Piwik. It has worked great before, but just
   recently, we are experiencing problems with Bad Request 400 errors due to the
   fact that the browser is getting a very large cookie. We have a multisite WordPress
   installation. All the cookie values from different blogs seems to be placed in
   the same cookie? Do you have any idea on how to solve this issue. Help is greatly
   appreciated.
 * Here is a small portion example of the cookie:
 * _pk_id.4.dae7=8f095bb3a9594a6d.1359636247.21.1363186377.1363179753.; _pk_id.238.
   dae7=143cea78fc4a62c6.1359636299.1.1359636892.1359636299.; _pk_id.1458.dae7=0d8a036a7061a9cc.
   1359636897.1.1359637860.1359636897.; _pk_id.16.dae7=491a0abcf292a5cf.1359636906.2.1359980361.1359636906.;
   _pk_id.1863.dae7=5d2bcfa219a068f3.1359636910.1.1359637969.1359636910.;
    _pk_id.
   51.dae7=480b7f016d509040.1359628830.1.1359628878.1359628830.; _pk_id.50.dae7=
   d537dffcb0841176.1359628959.7.1363341532.1363271562.; _pk_id.9.dae7=7f44c410aee8adbc.
   1359628979.5.1363184135.1361871171.; _pk_id.58.dae7=7e688c95f3a0d4c9.1359709327.3.1360321989.1359964945.;
 * [http://wordpress.org/extend/plugins/wp-piwik/](http://wordpress.org/extend/plugins/wp-piwik/)

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

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cookie-bad-request/#post-3567003)
 * Looks like a Piwik issue, because the cookie is set by Piwik (WP-Piwik adds the
   tracking code only).
 * See [http://dev.piwik.org/trac/ticket/2453](http://dev.piwik.org/trac/ticket/2453)
 * **Note:** If you are using the latest Piwik release, you should update WP-Piwik,
   too.
 *  Thread Starter [wksuper](https://wordpress.org/support/users/wksuper/)
 * (@wksuper)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cookie-bad-request/#post-3567008)
 * Hi!
 * Thank you for the quick reply. It seems to be a wordpress multisite issue, because
   each blog gets its own set of cookie values and they are stored in a single cookie
   making it very large. setCookiePath(‘/something’) seems to be the solutions, 
   to make each blog have its own cookie.
 * Cheers/WK
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cookie-bad-request/#post-3567075)
 * Next week I’ll have a look at this.

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

The topic ‘Cookie bad request’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [braekling](https://wordpress.org/support/users/braekling/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/cookie-bad-request/#post-3567075)
 * Status: not a support question