vishal vishal - 6 days ago 4x
PHP Question

joomla 3 - how to disable front end login component?

I have searched and disabled joomla login module which hides login form in sidebar. But if I put


URL in address bar it still displays login form.

Is there any way to hide this login form ?


You can prevent that by custom rewrite rules in .htaccess file.

# Return 403 Forbidden header and show the content of the root homepage
RewriteRule index.php/component/users index.php [F]

or try creating hidden menu item (stacked in menu that doesn't have module so it's not shown on the page) and setting it's Access level to 'Special' but I'm not sure about this one.