[wp-trac] [WordPress Trac] #49472: feature request: make the logout a separate page

WordPress Trac noreply at wordpress.org
Wed Feb 19 00:25:04 UTC 2020


#49472: feature request: make the logout a separate page
-----------------------------+-----------------------------
 Reporter:  Iamhere          |      Owner:  (none)
     Type:  feature request  |     Status:  assigned
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Hello

 To reduce load on my server, I like to use Basic Auth password protection
 on wp-login.php page.

 This works fine for wordpress only sites (limited users needing to login),
 however, where woocommerce is in use, when a customer of that site tries
 to log out, they are also presented with the basic auth pop-up asking for
 credentials.

 I have tried many ways to get around this, but it seems the issue
 primarily comes down to the fact that WP uses the login page for the
 logout functions too.

 More info here of what I have tried:
 https://wordpress.stackexchange.com/questions/352829/basic-auth-htaccess-
 on-wp-login-but-allow-logout-from-woocommerce

 I also switched to protection of wp-admin folder, but this does not work
 properly.

 Could WP have a seperate wp-logout file ?  Then this issue is no more!  I
 realise that's a big change, but unless there is another way to achieve my
 goal (I don't want to use plugins - basic auth in Apache .htaccess is 5
 lines of code), I don't think there is any alternative.

 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49472>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list