Root WP Cookie

Root WP Cookie changes the WordPress cookie path to root directory for root-level files that call functions from a WordPress installation under a subdirectory.

This plugin is most useful when you have your blog under a Web site whose pages use different WordPress functions that requires you to have logged in.

For example, you’d like to use the wp_loginout(); function to display the login link whenever you are logged out and the logout link otherwise on all pages of your site, but WordPress is installed under /wp/ where your blog also resides. Therefore, WordPress creates cookies under the /wp/ directory only, making you seem logged out on the directories above the WordPress directory. This plugin will make WordPress create cookies on the root directory of your domain to eliminate the problem.

Download Plugin

Change Log

Version 1.1.1
Released 18 March 2007

Changes:

  • Changed license to GNU GPL.
Version 1.1

Changes:

  • Added wp_clearcookie() function for logging out.
  • Cleaned up unnecessary variables and function calls in the wp_setcookie() function.
Version 1.0
  • First release of the Root WP Cookie plugin.

License

Copyright © 2006–2007 Aja Lorenzo Lapus

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Read the full license