Can we have the shortest possible links for sharing?

sry for my bad english :face_with_raised_eyebrow: If I have grammatical errors, please point out or correct them, thank you!

in normal i use share button and i get this link:

https://hibot.top/t/topic/7?u=ym_gg

i think it can be more shorter ,sometimes i dont want to Statistics invite,so i dont need “u” parameter

https://hibot.top/t/topic/7

and i discover the link can working without “topic”

https://hibot.top/t/7

at the last the browser will auto completion the https

hibot.top/t/7

i think the share button can show the link like this,this link can work in my discourse. i want automanic to finish it.

But I didn’t find any specific settings for sharing links (probably due to translation?), If there is a setup for this feature, please tell me where it is. If there is no setup for this function, I hope it can be implemented If it can’t be realized in the design, please tell me the reason, thank you!

4 Likes

im waiting forsomeone tosolve it :upside_down_face:

1 Like

If you need the link that short, you can manually edit it – or write a plugin to force the links to be shorter.

2 Likes

If I shorten it to“ hibot.top/t/7 “What impact will that have on the visit?”

The best URL to use when shortening is a - for the slug:

https://hibot.top/t/-/765432

This prevents the server from ever needing to consider whether 765432 could possibly be a topic title.

7 Likes

I love compact links! And I’d be interested in having this, though I have no idea how to create a plugin to do this. Sure, I do it by instinct, but what about our community? I have written this up in our guides, in posts, and I cannot even get my own colleagues to manually edit.

Maybe I should create a badge :wink:

I do appreciate knowing this