Security warnings in panel

Hi, I’m using Kirby 3.9.2 on IONOS with PHP 8.2.4, currently still on a staging sub-domain before going live.

In the panel I’m getting security warnings about the folders site, kirby and content being accessible, but when I check them via the url outlined in the documentation, I get redirected to the homepage as expected (I configured the redirect instead of an error page). Should I not worry about the warnings then or do I need to alter folder permissions?

I’m using Kirby’s latest .htaccess with the RewriteBase directive for IONOS. The same warnings appeared on Kirby 3.9.1.

If you redirect to home instead of error, you get a 200 response instead of a 404, that’s why you get the warning in the Panel, because a 404 is expected.

You can leave it as is, but the correct way would be to redirect to error.

Ah, thank you, that fixed the warnings in the panel.

I followed the one-pager cookbook and liked the redirect, but I guess it is proper to have an error page anyways.