New Slug Feature for Customizable URLs

Yes - the slugs feature is only designed to work with the normal Bubble URL structure, which is /page-name/thing. Your observations about the different cases is what I would’ve expected. Bubble doesn’t have a native feature supporting the kinds of complex URL structures you’ve built (yet) - so that’s all custom on your side.

Thanks for the tip about the privacy rule! We’ll add that to the documentation.

6 Likes

Is there anyway to have this as a toggle or something? So those that have complex structures like aforementioned can keep them without having to worry.

1 Like

This is awesome @zoe @emmanuel and the rest of the team! :clap:t3: I take back the few complaints I have about bubble :sweat_smile:

Dynamic Slugs were actually #2 on my list of future feature requests!

3 Likes

Documentation now updated with information on slugs and privacy rules! Thanks again for bringing this to our attention.

3 Likes

Use the ‘Open External page’ instead of an internal page.
Then you can dynamically build the url you want.

Example; You can have a thing called ‘Product’ and a thing called ‘Category’ which both have a slug and where the category is linked to the product.
Now you’re external url can be something like <Website home URL> <page-name>/<parent group's product category slug>/<parent group's product slug>/parent groups product UID

6 Likes

That’s great. Thanks!

1 Like

Thanks for this feature. I have a related question - is there a way to ‘hide’ the https://s3.amazonaws.com/appforest_uf/f159… URL when opening an attached file using ‘open an external website’ action? The URL confuses users.

At this time, you’d have to use a URL router plugin like Sudsy Page for nested hierarchies or more advanced functionality.

I wouldn’t suggest using this if you’re using mobile versions of a page, basically these slugs don’t work.

Awesome feature ! I am looking to enter the slug with an input / workflow.

Is it possible @allenyang ?
place

No, it’s not. You have to use a special “Set a thing’s slug” action.

1 Like

@stephane-- Reference the following documentation.

https://manual.bubble.io/structuring-an-application/page-slugs#step-3-navigate-to-that-entry

@johnny @rukevweb RTFM :sweat_smile::sweat_smile: thx guys !

1 Like

Great feature! Is there a way to update slugs in bulk using the ‘Set a thing’s slug’ workflow? I have a few thousand users I want to apply the new slugs to.

You can schedule a API workflow on a list

1 Like

Ah yes of course. Do you know what the behaviour if there are duplicate values?

Yes! Check out the documentation listed below :slight_smile:

Superstar - thankyou!

1 Like

just wanted to say thank you bubble for adding this.
worked very well and is great for sharing my app.
i did schedule an api workflow on a list of things. (quite a long one)
it timed out so I then only did the api workflow on items where slug was still empty. until it was filled for all entries.

2 Likes

Hello Bubble.

This is a great update, thanks!

Unfortunately it doesn’t support multilingual sites. I would love to have a different slug for each of the languages my site supports.