Is it possible to dynamically target current site's url when using "open external url"?

Hi Everyone,

I’m trying to create pretty url’s - think of

I’m successful in opening the page when the URL is used and I can access that page by updating my links to point to the above url.

The problem I’m facing is my dev environment is -
and my prod is the above link.

Adding the full test URL works while testing but I have to remember to change all my links before going to prod which is risky if I forget. Is there anyway to reference the current environment instead of me putting the full URL? I tried something like ./profile/john.doe but bubble takes that URL and attempts to access it?

Is there something I can do so I don’ have to change url’s between prod and dev?


“Website Home URL” should work


Thank you so much. It worked perfectly!

1 Like