Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,400 resources
02
Days
13
Hours
35
Mins
20
Secs

Make MC.MK Links Shorter

Status

Jack

Retired Moderator
Supreme
Feedback score
11
Posts
1,210
Reactions
1,462
Resources
0
Some of you know about the mc.mk URL shortener.
Basically, you just replace "mc-market.org" with "mc.mk".
For example:
https://mc-market.org/resources/4480 -> https://mc.mk/resources/4480

It's shorter but could be much shorter.
Why does length matter? Well, everyone knows that "less is more", but more importantly it allows you to post longer messages in the chatbox when including links to threads/posts/resources/profiles.

Before Mick bought mc.mk, I had made a shortener using a free domain, mcmr.tk, but some loser stole the domain from me and I CBA to buy a real MCM domain since mc.mk already exists.

What I suggest is that you (Mick) replace "resources" with "r", "threads" with "t", "posts" with "p", and "members" with "m" on the shortened URL.

For example:
https://mc.mk/threads/299166 -> https://mc.mk/t/299166
https://mc.mk/resources/4480 -> https://mc.mk/r/4480
https://mc.mk/members/439 -> https://mc.mk/m/439

You can also keep the semi-short that we have now.

This can be done very easily using the following .htaccess (if you're using Apache):
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^m\/(\d+)*\/*$ https://mc-market.org/members/$1
RewriteRule ^p\/(\d+)*\/*$ https://mc-market.org/posts/$1
RewriteRule ^t\/(\d+)*\/*$ https://mc-market.org/threads/$1
RewriteRule ^r\/(\d+)*\/*$ https://mc-market.org/resources/$1
RewriteRule ^members\/(\d+)*\/*$ https://mc-market.org/members/$1
RewriteRule ^posts\/(\d+)*\/*$ https://mc-market.org/posts/$1
RewriteRule ^threads\/(\d+)*\/*$ https://mc-market.org/threads/$1
RewriteRule ^resources\/(\d+)*\/*$ https://mc-market.org/resources/$1
 
Type
Suggestion
Status
Implemented
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Jack

Retired Moderator
Supreme
Feedback score
11
Posts
1,210
Reactions
1,462
Resources
0
I see no point to this at all. other then for lazy people
Well, lazy people also don't read threads apparently:
more importantly it allows you to post longer messages in the chatbox when including links to threads/posts/resources/profiles.
:rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt::rekt:
 

Mick

BuiltByBit Owner
Management
Feedback score
28
Posts
6,411
Reactions
7,662
Resources
0
This change has been planned for a while but we've got other priorities to handle first as I'm sure you'll agree :)

I'll move this to pending, thanks Jack.
 

byangkjh

Feedback score
0
Posts
5
Reactions
1
Resources
0
Sound good, but is no only change the domain and its all, the domain represent the mark ok mc- market, i think
 

Mick

BuiltByBit Owner
Management
Feedback score
28
Posts
6,411
Reactions
7,662
Resources
0
I don't recall when exactly, but we have made this change and it has worked how you have suggested for quite a long time now. Thanks for your patience, but yeah this has been implemented.

I'll move this to accepted, thanks Jack
 
Status
Top