title: Stop WooCommerce redirecting wp-login.php and wp-admin to account pages
body: <p>With a plain-vanilla Wordpress install, a subscriber can access /wp-login.php, login and visit the dashboard.</p>
  
  <p>I've found that after installing WooCommerce, if a subscriber is logged in and then tries to revisit the wp-admin or wp-login.php they are redirected to the my-account page set in the WooCommerce settings.</p>
  
  <p>I wondered if there is anyway to remove this functionality as it isn't right for my site.</p>
  
  <p>Any thoughts much appreciated.</p>
  
  <p><strong><em>Solution</em></strong></p>
  
  <p>I have found a solution and posted it on this <a href="https://stackoverflow.com/questions/45048756/wordpress-login-page-redirecting-to-woocommerce-my-account-page-for-normal-users/48332692#48332692">related question</a></p>