Log in
Log into community
Join the Webstudio community
View all posts
Related posts
Was this helpful?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Page with path that can accept multiple parameters
Page with path that can accept multiple parameters
Inactive
0
Follow
At a glance
S
Sruly
2 months ago
ยท
Is there a way to make a page that can accept any amount of parameters in the path and create an array? So for example if it's example.com/:slug and the url entered is example.com/data/data2, slug[0] would equal data and slug[1] would equal data2
O
S
6 comments
Share
Open in Discord
O
Oleg Isonen
2 months ago
its just /:param1/:param2
S
Sruly
2 months ago
I would need to make a page for how deep I allow? As in I would want it in theory to go to /:param100
S
Sruly
2 months ago
Like /:param1/:param2/.../:param100
S
Sruly
2 months ago
My reason for asking would be sloppy implementation, can disregard
O
Oleg Isonen
2 months ago
distinct params are needed because you want access to each specific one, you don't seem to need it, you seem to want /:name*
O
Oleg Isonen
2 months ago
https://docs.webstudio.is/university/foundations/cms
Add a reply
Sign up and join the conversation on Discord
Join on Discord