# Set Unique URL of the Mypage to copy to clipboard

**URL:** <https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640>\
**Category:** App Organization\
**Created:** [January 3, 2021, 2:07pm UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640 "2021-01-03T14:07:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![i2p1us.5g](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/i2p1us.5g/32/62949_2.png) [@i2p1us.5g](https://forum.bubble.io/u/i2p1us.5g)\
**Post date:** [January 3, 2021, 2:07pm UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/1 "2021-01-03T14:07:43Z")

</div>

I want to set the URL to be generated like “…/mypage=0123456789…x0123456789…” using the user’s unique ID to copy to clipboard here:

![スクリーンショット 2021-01-03 22.48.44](https://us1.discourse-cdn.com/bubble/original/3X/a/a/aa88be79f968054e1ba64ef9cfdaf03e17c52f26.png)

But now, “This url” makes `https://xxx.bubbleapps.io/version-test/mypage?debug_mode=true`.

Anyone knows the simplest way to set the URL with unique ID ?

(- doesn’t need to use the username for the URL, - this page doesn’t have “`type= user`”)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 3, 2021, 4:41pm UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/2 "2021-01-03T16:41:43Z")

</div>

this URL is whatever the URL is for the page at the moment the copy to clipboard action occurs.

Multiple ways to get the unique id into the URL for the clipboard but depends on how you are going to use it…if it should be a parameter or a path or an item in the path list

to create a parameter if it is the first parameter you need a ‘?’ just like in the way there is one before the parameter ‘debug\_mode’…if you are adding a parameter that is not the fist parameter in the URL it would not use ‘?’ and instead use ‘&’

If the user unique id is for the current user you can have the text to copy be :website home URL/mypage?id=current users unique id

be aware when using the website home URL it will automatically have the ‘/’ added so you don’t need to add it after using that dynamic expression and can just then type ‘mypage?id=’ and then use the dynamic expression current users unique id

---

<div class="post-metadata">

**Author:** ![i2p1us.5g](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/i2p1us.5g/32/62949_2.png) [@i2p1us.5g](https://forum.bubble.io/u/i2p1us.5g)\
**Post date:** [January 4, 2021, 10:08am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/3 "2021-01-04T10:08:48Z")

</div>

Thanks for helping!

It worked but it’s a little bit wired,  
when I access `https://xxx.bubbleapps.io/version-test/mypage?id=1234...x1234...` ,  
the page seems to redirect `https://xxx.bubbleapps.io/version-test/mypage/nickname--1234...x1234...?id=1234...x1234...` and doesn’t display any contents.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 4, 2021, 10:13am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/4 "2021-01-04T10:13:41Z")

</div>

I don’t understand what could be the issue…what do you mean by this

> [@i2p1us.5g](#):
>
> when I access `https://xxx.bubbleapps.io/version-test/mypage?id=1234...x1234...` ,

Do you mean when you copy that URL to a clipboard, paste it into the browser address and then follow the link to open the page?

And what about this redirect

> [@i2p1us.5g](#):
>
> the page seems to redirect `https://xxx.bubbleapps.io/version-test/mypage/nickname--1234...x1234...?id=1234...x1234...`

Is this after the page is initially loaded? If so you must have something happening in your workflows to cause this on page load

---

<div class="post-metadata">

**Author:** ![i2p1us.5g](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/i2p1us.5g/32/62949_2.png) [@i2p1us.5g](https://forum.bubble.io/u/i2p1us.5g)\
**Post date:** [January 4, 2021, 10:29am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/5 "2021-01-04T10:29:17Z")

</div>

> [@boston85719](#):
>
> Do you mean when you copy that URL to a clipboard, paste it into the browser address and then follow the link to open the page?

Yes, exactly it is.

> [@boston85719](#):
>
> Is this after the page is initially loaded?

The address changes before open the page.

I checked the workflow but I’m not sure why it is.

 ![スクリーンショット 2021-01-04 19.22.38](https://us1.discourse-cdn.com/bubble/original/3X/0/b/0b6474ab36a6065afebd84326b5423d0108799a1.png)

 ![スクリーンショット 2021-01-04 19.22.45](https://us1.discourse-cdn.com/bubble/original/3X/8/c/8c193f45d12a4714c4644a6296bebb415f0286d5.png)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 4, 2021, 10:32am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/6 "2021-01-04T10:32:07Z")

</div>

I have no idea why there would be something like mypage/nickname–1234

because – is not how a URL path item is separated…it is separated using /

take a video demonstrating

---

<div class="post-metadata">

**Author:** ![i2p1us.5g](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/i2p1us.5g/32/62949_2.png) [@i2p1us.5g](https://forum.bubble.io/u/i2p1us.5g)\
**Post date:** [January 4, 2021, 10:56am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/7 "2021-01-04T10:56:59Z")

</div>

Maybe it’s because I might set up this on the mypage before (now turned it the default)… :

![スクリーンショット 2021-01-04 19.48.24](https://us1.discourse-cdn.com/bubble/original/3X/b/4/b41326611aa00ab77b1c8a4e138362272bcfbfe1.png)  
([https://www.youtube.com/watch?v=udqTvOJASuQ](https://www.youtube.com/watch?v=udqTvOJASuQ) )

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 4, 2021, 10:59am UTC](https://forum.bubble.io/t/set-unique-url-of-the-mypage-to-copy-to-clipboard/128640/8 "2021-01-04T10:59:30Z")

</div>

That video is not a demonstration of what you are experiencing
