Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
ISSUE SUMMARY:
I am not sure if there is a solution for both of my problems, however, I would like to prevent users from directly accessing pages without being logged in first. So if a users try to direct access the page it would redirect them to the main page for login.
The other problem is there a way to stop the
www.yoursite.com/index.php?option=com_users&view=login
page from being displayed or just display a 404 error when a user directly access it.