I want to exclude all pages using a specific template from the search result. It works as expected on my default language, that is, no pages with that template are displayed.
But when I’m searching from another language the search result contains pages with that template.
Ok, then the exclude thingy seems to work as expected. Hm, that’s really strange and I can’t reproduce this in a starterkit. Could you post a screenshot of your databas folder with all the files in it?
Hm, what Kirby version are you using? Could you provide more information about your environment? I currently have no idea anymore what might be causing this.
I see. I have no ideas anymore and can’t reproduce this with 2.5.7 either. Can you reproduce this in a fresh starterkit? All that I can offer now is to have a look into your project if you want to send me a zip.
I’m very grateful for your help. I can try digging a little deeper into it before sending over a zip.
What I want to do is:
I have a section on the page which is protected with a login. No pages which are protected shall be displayed in the search. It’s a minor issue because I have a route redirect to the error page if the visitor trying to go to a protected page and not are logged in. But still, it is a bad user experience to show hidden/protected pages in the search.