Site folder exposed?

Hi all

I noticed that the htaccess file isn’t blocking access to the site folder in the Kirby install. Kirby Panel says that both site and contents are exposed, however I can only access the site folder and see its contents. I tested with a starterkit and the site folder is not accessible. So I’m thinking it would be something in my code breaking the rule.

My htaccess is pretty much same as the Kirby default one, so I wanted to see what other things could break this rule? Where do I start with troubleshooting?

Any help is appreciated. Thank you!

What’s different in your .htaccess then?

Also, what custom routes have you implemented?

I redirected my 404 error page to my home page, which I thought was a good idea but clearly not.

All fixed now!