Support » Plugin: WooCommerce » Customer cant logout

  • Resolved kevwal


    WordPress 4.9.6 with Woocomerce 3.40 on Apache with PHO 7.2.5 and Storefront Theme 2.3.1


    I have secured my install with a htaccess style config as recommended in many places (although the lines below sit in my main Apache config files as I don’t allow .htaccess files):

    <FilesMatch “wp-login.php”>
    AuthType Basic
    AuthName “Protected Area”
    AuthUserFile /xxx/xxx/htpasswd
    Require valid-user

    However, this breaks the (customer) user logout mechanism as this uses the wp-login.php file which non admin users now cannot access.

    There should be a way around this using something like QUERY_STRING “.*action=logout.*” or LocationMatch directives, but I cannot get them to work.

    All help and advise appreciated.

    Thanks very much

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customer cant logout’ is closed to new replies.