Is it possible to create a custom page path with cloudflare pages or cloudflare in general?

If it's possible, please help me with a tutorial [Im new to website building] Example :- hoz.lol/cute, hoz.lol/cat something like that
3 Replies
IEatBeans
IEatBeans7mo ago
Do you mean a dynamic url path? If you name the js file of the pages functions to something like [param].js, then you can access the param (whatever the user uses in the URL there) from within the function.
hoz
hozOP7mo ago
Yes I mean that, I've given an example as well
IEatBeans
IEatBeans7mo ago
Cloudflare Docs
Routing · Cloudflare Pages docs
Functions utilize file-based routing. Your /functions directory structure determines the designated routes that your Functions will run on. You can …
Want results from more Discord servers?
Add your server