Join the Webstudio community

Updated 5 months ago

Invalid urls exist in baserow filtering

At a glance

The community members are discussing issues with filtering and accessing non-existent pages. One community member tried using a 404 redirect, but this also affected valid pages with no data. Another community member suggested setting the status code field to 404 and creating a section that renders when the record isn't found. There is no explicitly marked answer, but the community members are working together to find a solution.

Useful resources
Hey guys when i setup my filtering using the pages im able to access none existing pages. how do i block these. I tried 404 pointing towards the ok = false but it doesnt seem to work
Attachments
image.png
image.png
A
R
J
4 comments
this page shouldnt exist as e-sports isnt in providers
Attachment
image.png
I'm having trouble as well with baserow filtering. Seems like something has changed with the baserow api.
rn to solve the problem i just 404 redirect. i just check to see if there is 0 results. but this will 404 urls which are valid but not yet populated with data.
For now just make sure your status code field outputs a 404. We have an issue to address this and render the 404 page there.

https://github.com/webstudio-is/webstudio/issues/4098

If you want, you can create a section that renders when the record isn't found and hide everything else for now
Add a reply
Sign up and join the conversation on Discord