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
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.
Yes I mean that, I've given an example as well
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 …