Shorter post url

AI-generated summary

Shortening Post URLs

The discussion revolves around making post URLs shorter. kenjdarhan is looking for a way to remove the post title from the URL. hawm suggests changing the slug generation method site settings to none.

Lhc_fl explains that the topic title in the URL has no effect and can be replaced with other non-empty strings. They also suggest removing query parameters to shorten the URL.

JammyDodger recommends a theme component called Share Link Shortener that can be helpful.

Jagster questions the historical reason behind including the topic title in the URL, speculating it might be for SEO purposes.

Hello, is there any settings I can make to make my post urls shorter?

When I copy a post url from the browser, the url includes the title text of the post, which makes it very long. How can I make the url appear having just the number and the website part, without the post title part?

I know this is normally not doable. Many thanks for any suggestions.

Change the slug generation method site settings to none

You may find that the url looks like this format:

yoursite.com/t/{this-might-be-your-topic-title}/{topid_id}/{post_number}?xxxxxxx

In fact topic-title has no effect. So you can safely replace it with other non-empty strings. Query parameters can also be deleted safely, such as…

yoursite.com/t/-/{topid_id}/{post_number}

If your post_number is 1, then it can also be deleted…

yoursite.com/t/{topid_id}

Shortened!

I think we also have a theme component that could be helpful - Share Link Shortener

Curious meta-question: why there is topic title in the first place? Old historical reasons or (weak) SEO-trick? It doesn’t bother me at all because urls are visible quite rarely nowadays.