Title: HTTP Logout
Last modified: August 21, 2016

---

# HTTP Logout

 *  Resolved [austinbeam](https://wordpress.org/support/users/austinbeam/)
 * (@austinbeam)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/http-logout/)
 * Hello,
    I’m trying to support proper logout (or as good as it gets with HTTP 
   authentication). I’ve found using the [https://logout@someurl.com](https://logout@someurl.com)
   syntax works just fine for me in the browser. The user is logged out as I would
   expect and a new login is required to continue. Unfortunately, using this as 
   the logout URL in the plugin causes the ‘@’ to be stripped ([https://logoutsomeurl.com](https://logoutsomeurl.com)).
 * I tried using proper URL encoding (%40%), but this didn’t seem to work either.
 * Any tips?
 * Thanks.
 * [http://wordpress.org/extend/plugins/http-authentication/](http://wordpress.org/extend/plugins/http-authentication/)

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

 *  Plugin Author [Daniel Westermann-Clark](https://wordpress.org/support/users/dwc/)
 * (@dwc)
 * [13 years ago](https://wordpress.org/support/topic/http-logout/#post-3674445)
 * It sounds like you’re trying to overload browser behavior that would typically
   initiate basic authentication.
 * WordPress may be stripping the raw at sign (the plugin shouldn’t do anything 
   to it). Was the at sign correctly displayed in the plugin settings page?
 * When you tried the URL-encoded version, did you try `%40`? Your post suggests
   you had an extra percent sign.
 *  Thread Starter [austinbeam](https://wordpress.org/support/users/austinbeam/)
 * (@austinbeam)
 * [13 years ago](https://wordpress.org/support/topic/http-logout/#post-3674446)
 * Sorry about the extra `%`, that was my mistake in the post. I used it correctly
   in my testing.
 * To answer your first question, yes, it displays correctly in the settings page.
 * None of the methods I’ve tried work, but truly it’s not a valid mechanism for
   HTTP Auth logout anyway.
 * Ideally, there would be a better mechanism for logging out. Do you have any suggestions?
   The default link puts me in a loop of this page upon “Logout” (I’ve removed the
   server name):
    [Server Logout Loop](http://oi43.tinypic.com/2vls9j4.jpg)
 *  Plugin Author [Daniel Westermann-Clark](https://wordpress.org/support/users/dwc/)
 * (@dwc)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/http-logout/#post-3674464)
 * If you there’s no way to force the browser not to send the credentials (e.g.,
   some authentication mechanisms support a separate logout mechanism) then the 
   simplest option is to send them to a URL that doesn’t ask for the credentials.
   Depending on your configuration this may need to be on a separate domain name.
 * Hope this helps!

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

The topic ‘HTTP Logout’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/http-authentication.svg)
 * [HTTP Authentication](https://wordpress.org/plugins/http-authentication/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http-authentication/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http-authentication/)
 * [Active Topics](https://wordpress.org/support/plugin/http-authentication/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http-authentication/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http-authentication/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daniel Westermann-Clark](https://wordpress.org/support/users/dwc/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/http-logout/#post-3674464)
 * Status: resolved