Private mode, plugin?


On Kirby, how i can have a private mode/access:
• when I install my website.
• for a particular page (as category)


You can protect a page with a login, and restrict parts of a template unless the user is logged in. See here in the Cookbook.

Thanks for your reply.

Keep in mind that such a login does not protect images, only pages.

1 Like

For images, with a .htaccess and robos.txt ? So far, that’s what I’ve always done.

On a side note, the easiest way to prevent access to the complete site is Basic authentication (if you only need one password to protect the site, e.g. during development).