Title: klaudius's Replies | WordPress.org

---

# klaudius

  [  ](https://wordpress.org/support/users/klaudius/)

 *   [Profile](https://wordpress.org/support/users/klaudius/)
 *   [Topics Started](https://wordpress.org/support/users/klaudius/topics/)
 *   [Replies Created](https://wordpress.org/support/users/klaudius/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/klaudius/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/klaudius/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/klaudius/engagements/)
 *   [Favorites](https://wordpress.org/support/users/klaudius/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Once I install Redis-cache for 2 WordPress sites, they conflicted](https://wordpress.org/support/topic/once-i-install-redis-cache-for-2-wordpress-sites-they-conflicted/)
 *  Thread Starter [klaudius](https://wordpress.org/support/users/klaudius/)
 * (@klaudius)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/once-i-install-redis-cache-for-2-wordpress-sites-they-conflicted/#post-8233660)
 * Thanks for the direction.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [You are attempting to log out of](https://wordpress.org/support/topic/you-are-attempting-to-log-out-of/)
 *  [klaudius](https://wordpress.org/support/users/klaudius/)
 * (@klaudius)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/you-are-attempting-to-log-out-of/#post-929912)
 * The bug was caused by a change about Log out mechanism with was reffered in
 * [http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7](http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7)
 * which said:
 * >  Logout from Site
   > The Template Tag wp_logout_url was added in Version 2.7 to provide a nonced
   > URL for logout purposes. If a theme uses a construct such as /wp-login.php?
   > action=logout to offer the user a logout link that code should be updated to
   > use the wp_logout_url. A good example of the usage of wp_logout_url can be 
   > seen in the WordPress Default and Classic themes comments.php and comments-
   > popup.php Templates.
   > Users will experience a You are attempting to log out of example.com. Please
   > try again. message if the theme does not use wp_logout_url for the logout URL.
 * So just find one line in your current theme files
 *     ```
       <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out</a>
       ```
   
 * and replaced these codes with
 *     ```
       <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out</a>
       ```
   
 * You can try log out again, and no same bug occurs again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [BUG: You are attempting to log out of error in Carrington](https://wordpress.org/support/topic/bug-you-are-attempting-to-log-out-of-error-in-carrington/)
 *  [klaudius](https://wordpress.org/support/users/klaudius/)
 * (@klaudius)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/bug-you-are-attempting-to-log-out-of-error-in-carrington/#post-955106)
 * The bug was caused by a change about Log out mechanism with was reffered in
 * [http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7](http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7)
 * which said:
 * >  Logout from Site
   > The Template Tag wp_logout_url was added in Version 2.7 to provide a nonced
   > URL for logout purposes. If a theme uses a construct such as /wp-login.php?
   > action=logout to offer the user a logout link that code should be updated to
   > use the wp_logout_url. A good example of the usage of wp_logout_url can be 
   > seen in the WordPress Default and Classic themes comments.php and comments-
   > popup.php Templates.
   > Users will experience a You are attempting to log out of example.com. Please
   > try again. message if the theme does not use wp_logout_url for the logout URL.
 * So just find one line in your current theme files
 *     ```
       <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out</a>
       ```
   
 * and replaced these codes with
 *     ```
       <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out</a>
       ```
   
 * You can try log out again, and no same bug occurs again.

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