URL simplification | Has this been created on Bubble yet?

I’ve not actually tried the specific technique you referenced, but with Sudsy Page, the basic approach is as follows:

  • When the URL changes, your app is notified with an event and “handed” a list of path params (exposed in a state).
  • You respond to that event with a workflow that uses the path params to implement your desired logic.

In your case, it seems you’d want to use the 2nd path param (Anthony-Bigums in your example) to look up that user in the DB.

Of course, the onus is entirely on you to define and enforce your desired URL structure as well as whatever URL “slugs” you wish to use as path params (a username in your example).

1 Like