# URL simplification | Has this been created on Bubble yet?

**URL:** <https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999>\
**Category:** Questions\
**Created:** [May 4, 2019, 7:20pm UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999 "2019-05-04T19:20:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sounderly.help](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sounderly.help/32/30604_2.png) [@sounderly.help](https://forum.bubble.io/u/sounderly.help)\
**Post date:** [May 4, 2019, 7:20pm UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/1 "2019-05-04T19:20:49Z")

</div>

A while back I started a thread about SEO and Social media friendly URLs. Here is a link to that thread:

> [@Social sharing friendly URL?](http://forum.bubble.io/t/social-sharing-friendly-url/47979/7):
>
> @keith o\_0 why is this so hard? This is my failed attempt at following your directions: Step 1 [image2] Step 2 – I used the recommended ([A-Z][a-z])(?=[A-Z]) [image3] Step 3 [image4] And it doesn’t work, so I’ve done something wrong I only need the ability to extract the username. I don’t care about first and last name, like in your example. So lets say for example that the user name is Anthony Bigums. I’d be fine with a URL being “.com/user\_profile/Anthony-Bigums”

As you can see, this turned into a VERY complex solution, especially for those of us who already have complex pages built that contain at-least 200+ elements on them. And at the end, the solutions presented also had things about them that made them less desirable.

Has Bubble devised a simple way to remove the “unique id” from URLs yet? If not, is this at least being considered for future updates? I REALLY need this and I can only assume, many others are in the same boat.

---

<div class="post-metadata">

**Author:** ![marcusandrews](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/marcusandrews/32/246197_2.png) [@marcusandrews](https://forum.bubble.io/u/marcusandrews)\
**Post date:** [May 5, 2019, 8:11pm UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/2 "2019-05-05T20:11:48Z")

</div>

@Bubble @neerja

---

<div class="post-metadata">

**Author:** ![scott3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scott3/32/18530_2.png) [@scott3](https://forum.bubble.io/u/scott3)\
**Post date:** [May 6, 2019, 4:53pm UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/3 "2019-05-06T16:53:41Z")

</div>

I got a solution to work using copilot’s browser plugin. Changes the URL to whatever you want, so I controlled the view with state internally and ran the browser plugin on a workflow to change the URL.

The tricker and more annoying bit was what happens if a user goes directly to said URL… I ended up putting complex ‘on load’ workflows in place… Ie., If my [app.com/task/1234](http://app.com/task/1234) is accessed, grab the URL, extract the 1234, search for task with Id 1234, set state of page to that task, etc.

It worked but wasn’t especially scalable.

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [May 7, 2019, 10:39am UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/4 "2019-05-07T10:39:15Z")

</div>

> [@sounderly.help](#):
>
> As you can see, this turned into a VERY complex solution, especially for those of us who already have complex pages built that contain at-least 200+ elements on them.

I’ve not actually tried the specific technique you referenced, but with [Sudsy Page](http://forum.bubble.io/t/new-plugin-sudsy-page-squeaky-clean-urls-by-tech-tonic/52350), 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).

---

<div class="post-metadata">

**Author:** ![sounderly.help](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sounderly.help/32/30604_2.png) [@sounderly.help](https://forum.bubble.io/u/sounderly.help)\
**Post date:** [October 9, 2019, 1:15am UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/5 "2019-10-09T01:15:12Z")

</div>

I haven’t been on this forum lately. Has anyone devised new, simplified solutions for this issue yet?

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [October 9, 2019, 6:13am UTC](https://forum.bubble.io/t/url-simplification-has-this-been-created-on-bubble-yet/55999/6 "2019-10-09T06:13:49Z")

</div>

How would you envision it working - I mean, from a Bubble developer’s perspective?

The URL identifying each resource (user in your case) must be unique, so you’d just use the username as the unique identifier for each user.

A major update to Sudsy Page is currently awaiting marketplace approval, but you still have to devise and implement your desired URL structure. If **ALL** you need is something like…

- `https://mysite.com/users/username`

…that should be pretty straightforward. In fact, most of the effort would be enforcing uniqueness of the user names on sign-up.
