Route dynamic pages on self-hosted exported apps?

When we export a built WeWeb application, seems like we need additional routing settings to serve any pages with parameters in the path.

So we have a blank forder at this path, like this:


Inside the _param folder we have an index.html

Inside it, there’s only one reference to a script: /assets/main-D6qyxymd.js (in my case)

And I can’t find any mention of a _param folder to find out how should we rewrite the url to make variables work in the page path.

Hi Anton,

Apologies for the late reply. @Matthew_S and I have been working on updating the self-hosting documentation to address dynamic URL path parameters and we needed a bit of time to put it together since things are different depending on which hosting provider you use and some solutions are quite technical.

Here’s the dedicated user docs article on the topic: Self-hosting with dynamic routing | Documentation

I hope it helps! Please don’t hesitate to reach out if anything is unclear.

Thank you a lot!