Not recommended for new sites
Is Safer Cookies still safe to use?
- Problem: Not maintained Last updated 17 years ago (version 1.2).
- Problem: Not tested with recent WordPress Tested up to WordPress 2.9; the current release is 7.1.
- Note: Few reviews so far No ratings on WordPress.org yet.
- Note: Small user base Active on 10+ sites.
For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.
No maintained plugin does exactly the same job. We checked the directory for an actively updated, well-rated plugin with the same features and didn't find a safe match.
If your site depends on Safer Cookies, we can update it for current WordPress and PHP versions, review it for security problems, or rebuild the feature you need.
Get it updated Check all your plugins Browse maintained Analytics & Tracking plugins
Overview
Safer Cookies describes itself as: “Ties the WP session cookie to your IP address so that it can't be used to get access to you blog from another computer.”
It is active on 10+ WordPress sites. Developers can extend it through 4 actions and 1 filters, listed below.
Downloads & growth
How often Safer Cookies is downloaded from WordPress.org each day, over the last 90 days.
Source: WordPress.org download statistics. Downloads include updates on existing sites, so tall spikes usually mark a new release. See what's trending →
How to install Safer Cookies
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Safer Cookies” and pick the one by Janis Elsts.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install safer-cookies --activateRequirements: WordPress 2.5+ · tested up to WordPress 2.9.2
Hooks & customisation
Safer Cookies 1.2 fires 4 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in safer_cookies.php
apply_filters( 'auth_cookie', $cookie, $user_id, $expiration );
// Action in safer_cookies.php
do_action( 'auth_cookie_bad_hash', $cookie_elements );
// Action in safer_cookies.php
do_action( 'auth_cookie_bad_username', $cookie_elements );
// Action in safer_cookies.php
do_action( 'auth_cookie_expired', $cookie_elements );
// Action in safer_cookies.php
do_action( 'auth_cookie_valid', $cookie_elements, $user );Safer Cookies: frequently asked questions
Is Safer Cookies free?
Yes. Safer Cookies is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.
Is Safer Cookies safe to use?
Safer Cookies has not been updated for 17 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does Safer Cookies work with WordPress 7.1?
It isn't confirmed. Safer Cookies was last tested with WordPress 2.9, 42 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 2.5 or later.
How many websites use Safer Cookies?
Safer Cookies is active on 10+ WordPress sites, according to WordPress.org. It is currently at version 1.2, last updated on December 7, 2009.
What are the best alternatives to Safer Cookies?
We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Analytics & Tracking plugins for related options.
Can I customise Safer Cookies without editing its code?
Yes. Safer Cookies 1.2 fires 4 actions and 1 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 5 hooks with examples.
Done for you
Let us deal with Safer Cookies for you
Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.
Plugin replacement & migration
from $199
Swap a risky plugin for a maintained one and keep your settings and data.
- We pick a maintained alternative with you
- Settings, content and data moved over
- Tested on staging before going live
- Old plugin removed cleanly
Typical turnaround: 3–5 business days
Choose thisUpdate an abandoned plugin
from $249
Keep the plugin your site depends on, made safe for current WordPress and PHP.
- Compatibility with current WordPress and PHP
- Security review and fixes
- Deprecated code replaced
- You keep a maintained copy
Typical turnaround: 5–10 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Need Safer Cookies customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Janis Elsts. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.