Inivisible pages still show up

Hi there, here’s my folder structure, and here’s the url
The two last projects at the bottom shouldn’t show as they don’t start with a number, but they still show… how come?

Best,

Visible or invisible are only flags, it does not mean that these pages are really invisible. You can use them in your code to filter pages like this:

$visibleProjects = page('projects')->children()->visible();

If you leave out the visible, all pages will be fetched.

Pls keep in mind that these pages are still accessible via their url (e.g. http://www.jolinmasson.com/en/projects/Flore-typographique) if you don’t prevent that in your code, e.g. by rerouting these urls to the error page or making them accessible only to logged-in users.

1 Like

Wow, that was almost too simple…! Thanks for the tips.