Title: invalid security token
Last modified: August 22, 2016

---

# invalid security token

 *  Resolved [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/invalid-security-token-4/)
 * Hi, after todays update I get the following error message:
 * “An error occurred – Your browser sent an invalid security token to Wordfence.
   Please try reloading this page or signing out and in again.”
 * It appears in every browser and I can’t find/solve the problem.
 * Please help
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/invalid-security-token-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/invalid-security-token-4/page/2/?output_format=md)

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298304)
 * Hi Stoetzman
 * Sorry you are having issues.
 * Go to your options page and select “Disable config caching” save and then try
   a scan.
 * Let me know how it goes.
 * Thanks!
 * tim
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298377)
 * Did that fix your issue?
 * Thanks!
 * tim
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298382)
 * Thanks Tim, but I can’t do anything. As soon as I go on Wordfence, or what ever
   heading I chose under Wordfence the error message pops up… no chance to click
   on anything.
 * Thanks
    Thomas
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298419)
 * Hi Tim,
 * are there any ideas or solution to my problem? Deactivated all plugins, un- and
   re-installed Wordfence – still can’t use Wordfence. It is actually a multisite
   website, this might be important to know.
 * Thanks
    Thomas
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298424)
 * Are you activating per blog or through the network > plugins page (I think this
   may be only way but want to be sure I ask)? You might actually have to remove
   the plugin and re-install but follow this guide to do so.
 * [https://wordfence.freshdesk.com/support/solutions/articles/1000010321-how-can-i-remove-all-wordfence-data-or-reset-wordfence-to-the-default](https://wordfence.freshdesk.com/support/solutions/articles/1000010321-how-can-i-remove-all-wordfence-data-or-reset-wordfence-to-the-default)
 * Tim
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298432)
 * Yes, activating it through the network is the only way.
    I’ll follow your instructions
   and let you know.
 * Thanks
    Thomas
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298434)
 * Hi Tim,
    it’s so frustrating. As soon as I click on any of the Wordfence links
   the popup window shows up. Even if I refresh the browser it comes right back.
   Is the another way to uninstall/remove it completely? via ftp or so? Thanks
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298435)
 * Try following this guide to reset everything. This should clear that error.
 * [https://wordfence.freshdesk.com/support/solutions/articles/1000010321-how-can-i-remove-all-wordfence-data-or-reset-wordfence-to-the-default](https://wordfence.freshdesk.com/support/solutions/articles/1000010321-how-can-i-remove-all-wordfence-data-or-reset-wordfence-to-the-default)
 * tim
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298440)
 * Just a quick something to try. Can you try deleting your browser cache and then
   reopening your browser and trying? We’ve had users that have said their local
   cache was what kept messing things up. I want to be sure we’re not missing the
   trees for the forest.
 * tim
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298448)
 * Hi Tim,
 * nothing works… I also tried Worfence Assistant but wasn’t able to use that either–
   same error message when I tried to select “Delete all Wordfence data in your 
   database”.
    I deleted all data in the database manually, installed it fresh –
   but the problem still exists.
 * I guess I have to look for alternatives here and replace yuor plugin which would
   be sad, I really like Wordfence, it works fine on all my clients website except
   on my own… [http://jobshubnct.org.au/](http://jobshubnct.org.au/).
 * Cheers
    Thomas
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298449)
 * Can you get me the info on your server from your options page? Just screenshot
   it and post a link or email it to Tim (at) wordfence.com
 * Thanks
 * Tim
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298457)
 * Hi Tim,
 * I found the source of the problem. The following code in the wp-config.php caused
   the problem:
 *     ```
       define('ADMIN_COOKIE_PATH', '/');
       define('COOKIE_DOMAIN', '');
       define('COOKIEPATH', '');
       define('SITECOOKIEPATH', '');
       ```
   
 * Thanks
    Thomas
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298458)
 * So it was storing a cookie that was holding on to the invalid security token?
   Did you remove that? How did you work around it?
 * I’d like to have it here in case another user has the same issue.
 * Thanks!
 * tim
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298459)
 * I think this code has been added automatically by a caching plugin which I’m 
   not using anymore. I can’t tell you which one exactly because I have tried a 
   few…
 * However, I deleted the code and now everything works fine.
 * Regards
    Thomas
 *  [Rogerio da Silva](https://wordpress.org/support/users/rogeruk/)
 * (@rogeruk)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/#post-5298478)
 * The solution to solve the error invalid security token in WordPress comments 
   is simple by disable the Jetckpack Comments in Jetpack settings. Really simple.
 * More details here:[](http://rogeriodasilva.com/error-invalid-security-token-wordpress-comments/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/invalid-security-token-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/invalid-security-token-4/page/2/?output_format=md)

The topic ‘invalid security token’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [Invalid Security Token](https://wordpress.org/support/topic-tag/invalid-security-token/)

 * 16 replies
 * 3 participants
 * Last reply from: [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-security-token-4/page/2/#post-5298479)
 * Status: resolved