I assume this happened to you before. You created a thread, then wanted to link it on the server. It turns out that the link is far too long to append it to your message and you need to dedicate a new trade message to that URL. It annoys you because you can post less text and it annoys others because these URLs are annoyingly long.
Inspired by @Ndm57dcraft's posting of https://www.ecocitycraft.com/forum/threads/suggestion-a-new-way-to-make-money-a-new-pvp.151489, I will be using this as an example.
Please ignore all spaces I have added to the URLs, this was necessary to prevent the forum from colouring it in blue.
The original URL:
https:// www. ecocitycraft.com /forum/threads/ suggestion-a-new-way-to-make-money-a-new-pvp . 151489
This URL consists of:
https:// - The protocol. HTTPS.
www. - The "World Wide Web" subdomain.
ecocitycraft.com - ECC's domain.
/forum/threads/ - The server's file path for threads.
suggestion-a-new-way-to-make-money-a-new-pvp - The title.
. - A separator between the title and the ID.
151489 - The thread's ID.
Which parts of that can be omitted?
Especially the title. The thread is merely identified by the ID.
Current status:
https:// www. ecocitycraft.com /forum/threads/ . 151489
Now, if you remove the title, the separator is no longer needed. Remove the period in front of the ID.
Current status:
https:// www. ecocitycraft.com /forum/threads/ 151489
Now, this looks a lot better. If you wish, you can erase even more.
The protocol. When omitting the protocol, the server will still make your browser redirect to it. Therefore, you can remove it.
Current status:
www. ecocitycraft.com /forum/threads/ 151489
We are almost done.
When no subdomain is specified, the browser assumes "www." as the subdomain. We can remove the www., too!
What can be removed in total?
https:// www. ecocitycraft.com /forum/threads/ suggestion-a-new-way-to-make-money-a-new-pvp . 151489
The (optimal) result:
ecocitycraft.com /forum/threads/ 151489
94 characters reduced to 37.
3 out of 7 parts of the original URL remain, and it is still fully functional.
This is how you create shorter URLs that are clickable in chat and still redirect to the thread you originally wanted to link to.
Please note that these links are clickable ingame, but not on the forum. If you wish to retain their interactivity on the forum, simply re-add the www. in front of the final URL.
Welcome to the wonderful world of:
1. Networking and
2. xenForo's affection for adding irrelevant thread titles to URLs.
Thread Tools
Thread Tools
-
I was used in a PI suggestion! Yay!
+1 though, l love the idea, makes things quicker and easier.-
Optimistic x 1 - List
-
-
Well I'll try to remember this for next time, thanks :D-
Like x 1 - List
-
-
SuburbSomeone Shrubby TycoonBuilder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade
- Joined:
- Apr 9, 2013
- Messages:
- 3,301
- Trophy Points:
- 74,090
- Gender:
- Male
- EcoDollars:
- $0
- Ratings:
- +6,465
More people should know this, I do this all the time.
-
Videowiz92 YesMythic ⚔️ I ⚔️ ECC Benefactor President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐⭐ X ⭐⭐ Gameplay Architect Premium Upgrade
I've always done this when posting links to the game without using tinyurl. But is it perhaps possible to make the urls short like this, at least to exclude the title and separator, or is this forced by xenForo?
-
Agree x 1 - List
-
-
-
Videowiz92 YesMythic ⚔️ I ⚔️ ECC Benefactor President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐⭐ X ⭐⭐ Gameplay Architect Premium Upgrade
That was what I was asking :)