This project is read-only.

Defaulting Orchard to the log in page

Topics: Customizing Orchard, General
Dec 28, 2014 at 1:02 PM

I'm building a website that requires users to log in before they can access any of the content stored on the site however I can't work out how to make the website default to the log in page when started up. Does this require a module that will hard code the redirect for me? Or is there another way that I haven't been able to see yet?

I haven't got my head around how to use layers correctly yet to only show content where I want it to appear - are the two "problems" perhaps related?


Dec 28, 2014 at 9:36 PM
One simple way is to go to the "Users" page in the admin dashboard. Select the "Roles" tab, edit "Anonymous" role, uncheck the "Access site front-end" option, and click "Save" at the bottom of the page