This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

URL Param To Cookie


When configured, this plugin examines the visited url for a configured parameter and stores it in a cookie. The cookie name, domain, path
and expiry can be configured.


  • A view of the available settings on the plugin settings screen.


Installation is the same as commonly found with other wordpress plugins:

  1. Upload the plugin files to the /wp-content/plugins/url-param-to-cookie directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->UrlParamToCookie Settings screen to configure the plugin


I fiddled with the path setting, now I can’t see the cookie

If you want the cookie to apply to the entire site, then set the path variable to ‘/’

What do I do with validity time?

The default for the cookie validity time is 0 – this means the cookie is valid until the end of the session, or until the web browser is closed. If you want the cookie to be valid
for a week, you’d enter 604800, this is a week’s worth of seconds (7 (days) * 24 (hours) * 60 (minutes) * 60 (seconds)).


There are no reviews for this plugin.

Contributors & Developers

“URL Param To Cookie” is open source software. The following people have contributed to this plugin.


Translate “URL Param To Cookie” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial commit.
  • Cleaned up formatting significantly.