title: How to disable front-end login component in Joomla 3?
body: <p>How to disable front-end login component in Joomla 3?</p>
  
  <p>I have managed to disable front-end user registration by disallowing registration as below.</p>
  
  <p><img src="https://i.stack.imgur.com/2FEah.png" alt="enter image description here"></p>
  
  <p>But still the login form is accessible via below url</p>
  
  <pre><code>index.php?option=com_users&amp;view=login
  </code></pre>
  
  <p><strong>How can I disable front-end login component without editing the core files?</strong></p>
  
  <p><em>Given that I have gone through below. I don't want to use a RewriteRule to get it done. I want to show a msg to user that it's disabled.</em> </p>
  
  <p><a href="https://stackoverflow.com/questions/16537707/joomla-3-how-to-disable-front-end-login-component">joomla 3 - how to disable front end login component?</a></p>