remove folder names from url
So I have a worker setup that rewrites url's to not include
.html in the address bar (example -
somedomainname.xyz/pages/about.html > somedomainname.xyz/pages/about)
is there a way to make it so it also works for folders? example -
somedomainname.xyz/pages/about > somedomainname.xyz/about3 Replies
@mudaranrhiod
It would be easier to just take your stuff out of the folder... but with cloudflare pages rules,
Eg; with rules

I tried that at first but couldn't get it to work. It would keep the /pages/ in the url address and end up pulling the html file from root